marking2/mk-advanced
author Christian Urban <christian.urban@kcl.ac.uk>
Tue, 24 Nov 2020 09:04:06 +0000
changeset 366 1c829680503e
parent 332 703c7e42bf46
permissions -rwxr-xr-x
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
162
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
#!/bin/sh
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
###set -e
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
trap "exit" INT
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
331
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 260
diff changeset
     6
files=${1:-assignment2019scala-*/Part7}
162
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
for sd in $files; do
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
  cd $sd
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
  echo $sd
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
  touch .
331
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 260
diff changeset
    12
  cp ../../../../../marking2/danube_test.sh .
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 260
diff changeset
    13
  cp ../../../../../marking2/danube_test1.scala .
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 260
diff changeset
    14
  cp ../../../../../marking2/danube_test2.scala .
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 260
diff changeset
    15
  cp ../../../../../marking2/danube_test3.scala .
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 260
diff changeset
    16
  cp ../../../../../marking2/danube_test4.scala .
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 260
diff changeset
    17
  cp ../../../../../marking2/danube_test5.scala .
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 260
diff changeset
    18
  cp ../../../../../marking2/danube_test6.scala .
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 260
diff changeset
    19
  cp ../../../../../marking2/movies.csv .
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 260
diff changeset
    20
  cp ../../../../../marking2/ratings.csv .
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 260
diff changeset
    21
  ./danube_test.sh output
332
703c7e42bf46 updated
Christian Urban <urbanc@in.tum.de>
parents: 331
diff changeset
    22
  rm danube_test.sh
331
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 260
diff changeset
    23
  rm danube_test1.scala
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 260
diff changeset
    24
  rm danube_test2.scala
260
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 259
diff changeset
    25
  rm danube_test3.scala
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 259
diff changeset
    26
  rm danube_test4.scala
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 259
diff changeset
    27
  rm danube_test5.scala
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 259
diff changeset
    28
  rm danube_test6.scala
228
33c2655be47d updated
Christian Urban <urbanc@in.tum.de>
parents: 227
diff changeset
    29
  rm ratings.csv
33c2655be47d updated
Christian Urban <urbanc@in.tum.de>
parents: 227
diff changeset
    30
  rm movies.csv
162
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
  cd ..
331
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 260
diff changeset
    32
  cd ..
162
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
done
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35