marking3/mk
changeset 243 9bb36426c781
child 326 e5453add7df6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/marking3/mk	Sun Dec 09 01:36:49 2018 +0000
@@ -0,0 +1,30 @@
+#!/bin/sh
+###set -e
+
+trap "exit" INT
+
+files=${1:-assignment20188-*}
+
+for sd in $files; do
+  cd $sd
+  echo $sd
+  touch .
+  cp ../../../marking3/knight1_test.sh .
+  cp ../../../marking3/knight1_test1.scala .
+  cp ../../../marking3/knight1_test2.scala .
+  cp ../../../marking3/knight1_test3a.scala .
+  cp ../../../marking3/knight1_test3b.scala .
+  cp ../../../marking3/knight1_test4.scala .
+  cp ../../../marking3/knight1_test5.scala .
+  ./knight1_test.sh output
+  rm knight1_test.sh
+  rm knight1_test1.scala
+  rm knight1_test2.scala
+  rm knight1_test3a.scala 
+  rm knight1_test3b.scala
+  rm knight1_test4.scala
+  rm knight1_test5.scala
+  cd ..
+done
+
+