main_marking1/mk_main1
changeset 424 daf561a83ba6
parent 388 ed63dca8068a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main_marking1/mk_main1	Mon Apr 11 23:55:27 2022 +0100
@@ -0,0 +1,36 @@
+#!/bin/bash
+###set -e
+
+trap "exit" INT
+
+files=${1:-*/main1}
+
+for sd in $files; do
+  echo -e "\n"  
+  cd $sd
+  echo $sd
+  touch .
+  cp ../../../../../main_marking1/drumb_test.sh .
+  cp ../../../../../main_marking1/drumb_test1.scala .
+  cp ../../../../../main_marking1/drumb_test2.scala .
+  cp ../../../../../main_marking1/drumb_test3.scala .
+  cp ../../../../../main_marking1/drumb_test4.scala .
+  cp ../../../../../main_marking1/drumb_test5.scala .
+  cp ../../../../../main_marking1/drumb_test6.scala .
+  cp ../../../../../main_marking1/drumb_test7.scala .
+  cp ../../../../../main_marking1/*.csv .
+  ./drumb_test.sh output
+  rm drumb_test.sh
+  rm drumb_test1.scala
+  rm drumb_test2.scala
+  rm drumb_test3.scala
+  rm drumb_test4.scala
+  rm drumb_test5.scala
+  rm drumb_test6.scala
+  rm drumb_test7.scala
+  rm *.csv
+  cd ..
+  cd ..
+done
+
+