main_marking2/mk_main2
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 26 Apr 2024 17:35:36 +0100
changeset 486 9c03b5e89a2a
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