marking2/mk
author Christian Urban <christian.urban@kcl.ac.uk>
Sat, 28 Nov 2020 15:58:36 +0000
changeset 378 7a5ad01a85b5
parent 325 ca9c1cf929fa
permissions -rwxr-xr-x
updated

#!/bin/bash
set -euo pipefail


trap "exit" INT

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

for sd in $files; do
  cd $sd
  echo $sd
  touch .
  cp ../../../../../marking2/docdiff_test.sh .
  cp ../../../../../marking2/docdiff_test1.scala .
  cp ../../../../../marking2/docdiff_test2.scala .
  cp ../../../../../marking2/docdiff_test3.scala .
  cp ../../../../../marking2/docdiff_test4.scala .
  ./docdiff_test.sh output
  rm docdiff_test.sh
  rm docdiff_test1.scala
  rm docdiff_test2.scala
  rm docdiff_test3.scala
  rm docdiff_test4.scala
  cd ..
  cd ..
done