Attic/marking2/mk
author Christian Urban <christian.urban@kcl.ac.uk>
Tue, 24 Nov 2020 09:04:06 +0000
changeset 366 1c829680503e
parent 331 e3878cdd38bc
permissions -rwxr-xr-x
updated

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

trap "exit" INT

files=${1:-assignment20177-*}

for sd in $files; do
  cd $sd
  echo $sd
  touch .
  cp ../../../marking2/knight1_test.sh .
  cp ../../../marking2/kinght1a_test.scala .
  cp ../../../marking2/knight1b_test.scala .
  cp ../../../marking2/knight1c_test.scala .
  cp ../../../marking2/knight2a_test.scala .
  cp ../../../marking2/knight2b_test.scala .
  ./knight1_test.sh output
  rm knight1_test.sh
  rm kinght1a_test.scala
  rm kinght1b_test.scala
  rm kinght1c_test.scala 
  rm kinght2a_test.scala
  rm kinght2b_test.scala
  cd ..
done