--- a/marking1/mk Mon Jan 27 10:18:13 2020 +0000
+++ b/marking1/mk Tue Feb 04 11:20:31 2020 +0000
@@ -3,28 +3,20 @@
trap "exit" INT
-files=${1:-assignment20186-*}
+files=${1:-assignment2019scala-*/Part6}
for sd in $files; do
cd $sd
echo $sd
touch .
- cp ../../../marking1/*.sh .
- cp ../../../marking1/collatz_test1.scala .
- cp ../../../marking1/collatz_test2.scala .
- cp ../../../marking1/drumb_test1.scala .
- cp ../../../marking1/drumb_test2.scala .
- cp ../../../marking1/drumb_test3.scala .
- cp ../../../marking1/*.csv .
- ./collatz_test.sh output
- ./drumb_test.sh output
- rm *.sh
+ cp ../../../../marking1/collatz_test.sh .
+ cp ../../../../marking1/collatz_test1.scala .
+ cp ../../../../marking1/collatz_test2.scala .
+ ./collatz_test.sh output1
+ rm collatz_test.sh
rm collatz_test1.scala
rm collatz_test2.scala
- rm drumb_test1.scala
- rm drumb_test2.scala
- rm drumb_test3.scala
- rm *.csv
+ cd ..
cd ..
done