marking2/mk
author Christian Urban <urbanc@in.tum.de>
Tue, 26 Nov 2019 01:22:36 +0000
changeset 325 ca9c1cf929fa
parent 228 33c2655be47d
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