pre_marking4/mk
author Christian Urban <christian.urban@kcl.ac.uk>
Sat, 11 Mar 2023 23:09:51 +0000
changeset 465 8ce150207792
parent 388 ed63dca8068a
permissions -rwxr-xr-x
updated to scala 3

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

trap "exit" INT

files=${1:-*/pre4}

for sd in $files; do
  cd $sd
  echo $sd
  sleep 15
  touch .
  cp ../../../../../pre_marking4/knight1_test.sh .
  cp ../../../../../pre_marking4/knight1_test1.scala .
  cp ../../../../../pre_marking4/knight1_test2.scala .
  cp ../../../../../pre_marking4/knight1_test3a.scala .
  cp ../../../../../pre_marking4/knight1_test3b.scala .
  cp ../../../../../pre_marking4/knight1_test3c.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_test3c.scala
  cd ..
  cd ..
done