marking2/mk
author Christian Urban <urbanc@in.tum.de>
Tue, 29 Oct 2019 14:12:24 +0000
changeset 281 87b9e3e2c1a7
parent 228 33c2655be47d
child 325 ca9c1cf929fa
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
227
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents: 162
diff changeset
     6
files=${1:-assignment20187-*}
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 .
227
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents: 162
diff changeset
    12
  cp ../../../marking2/*.sh .
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents: 162
diff changeset
    13
  cp ../../../marking2/danube_test1.scala .
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents: 162
diff changeset
    14
  cp ../../../marking2/danube_test2.scala .
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents: 162
diff changeset
    15
  cp ../../../marking2/docdiff_test1.scala .
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents: 162
diff changeset
    16
  cp ../../../marking2/docdiff_test2.scala .
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents: 162
diff changeset
    17
  cp ../../../marking2/docdiff_test3.scala .
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents: 162
diff changeset
    18
  cp ../../../marking2/docdiff_test4.scala .
228
33c2655be47d updated
Christian Urban <urbanc@in.tum.de>
parents: 227
diff changeset
    19
  cp ../../../marking2/movies.csv .
33c2655be47d updated
Christian Urban <urbanc@in.tum.de>
parents: 227
diff changeset
    20
  cp ../../../marking2/ratings.csv .
227
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents: 162
diff changeset
    21
  ./docdiff_test.sh output
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents: 162
diff changeset
    22
  ./danube_test.sh output
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents: 162
diff changeset
    23
  rm *.sh
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents: 162
diff changeset
    24
  rm danube_test1.scala
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents: 162
diff changeset
    25
  rm danube_test2.scala
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents: 162
diff changeset
    26
  rm docdiff_test1.scala
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents: 162
diff changeset
    27
  rm docdiff_test2.scala
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents: 162
diff changeset
    28
  rm docdiff_test3.scala
b5f3e814a710 updated
Christian Urban <urbanc@in.tum.de>
parents: 162
diff changeset
    29
  rm docdiff_test4.scala
228
33c2655be47d updated
Christian Urban <urbanc@in.tum.de>
parents: 227
diff changeset
    30
  rm ratings.csv
33c2655be47d updated
Christian Urban <urbanc@in.tum.de>
parents: 227
diff changeset
    31
  rm movies.csv
162
6d25ccbb3cf2 marking 2
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
  cd ..
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