main_marking2/mk_main2
author Christian Urban <christian.urban@kcl.ac.uk>
Thu, 02 Nov 2023 11:32:10 +0000
changeset 472 6a77c260c8a5
parent 463 0315d9983cd0
permissions -rwxr-xr-x
updated

#!/bin/bash
###set -e

trap "exit" INT

files=${1:-*/main2}


for sd in $files; do
  echo -e "\n"
  cd $sd
  echo $sd
  touch .
  cp ../../../../../main_marking2/wordle_test.sh .
  cp ../../../../../main_marking2/wordle_test1.scala .
  cp ../../../../../main_marking2/wordle_test2.scala .
  cp ../../../../../main_marking2/wordle_test3a.scala .
  cp ../../../../../main_marking2/wordle_test3b.scala .
  cp ../../../../../main_marking2/wordle_test4.scala .
  cp ../../../../../main_marking2/wordle_test5.scala .
  cp ../../../../../main_marking2/wordle_test6.scala .
  cp ../../../../../main_marking2/wordle_test7.scala .
  cp ../../../../../main_marking2/wordle.txt .
  ./wordle_test.sh output
  rm wordle_test.sh
  rm wordle_test1.scala
  rm wordle_test2.scala
  rm wordle_test3a.scala
  rm wordle_test3b.scala
  rm wordle_test4.scala
  rm wordle_test5.scala
  rm wordle_test6.scala
  rm wordle_test7.scala
  rm wordle.txt
  cd ..
  cd ..
done