marking1/mk
changeset 486 9c03b5e89a2a
parent 485 19b75e899d37
child 487 efad9725dfd8
equal deleted inserted replaced
485:19b75e899d37 486:9c03b5e89a2a
     1 #!/bin/sh
       
     2 ###set -e
       
     3 
       
     4 trap "exit" INT
       
     5 
       
     6 files=${1:-assignment2019scala-*/Part6}
       
     7 
       
     8 for sd in $files; do
       
     9   cd $sd
       
    10   echo $sd
       
    11   touch .
       
    12   cp ../../../../marking1/collatz_test.sh .
       
    13   cp ../../../../marking1/collatz_test1.scala .
       
    14   cp ../../../../marking1/collatz_test2.scala .
       
    15   ./collatz_test.sh output1
       
    16   rm collatz_test.sh
       
    17   rm collatz_test1.scala
       
    18   rm collatz_test2.scala
       
    19   cd ..
       
    20   cd ..
       
    21 done
       
    22 
       
    23