marking1/mk-advanced
author Christian Urban <urbanc@in.tum.de>
Tue, 04 Feb 2020 11:20:31 +0000
changeset 330 c3d3461a5e77
parent 261 8997430d9765
child 331 e3878cdd38bc
permissions -rwxr-xr-x
updated

#!/bin/sh
###set -e

trap "exit" INT

files=${1:-assignment2019scala-*/Part6}


for sd in $files; do
  cd $sd
  echo $sd
  touch .
  cp ../../../../marking1/drump_test.sh .
  cp ../../../../marking1/drumb_test1.scala .
  cp ../../../../marking1/drumb_test2.scala .
  cp ../../../../marking1/drumb_test3.scala .
  cp ../../../../marking1/drumb_test4.scala .
  cp ../../../../marking1/drumb_test5.scala .
  cp ../../../../marking1/drumb_test6.scala .
  cp ../../../../marking1/drumb_test7.scala .
  cp ../../../../marking1/*.csv .
  ./drumb_test.sh output
  rm drump_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