marking1/mk-advanced
changeset 330 c3d3461a5e77
parent 261 8997430d9765
child 331 e3878cdd38bc
equal deleted inserted replaced
329:8a34b2ebc8cc 330:c3d3461a5e77
     1 #!/bin/sh
     1 #!/bin/sh
     2 ###set -e
     2 ###set -e
     3 
     3 
     4 trap "exit" INT
     4 trap "exit" INT
     5 
     5 
     6 files=${1:-assignment20186-*}
     6 files=${1:-assignment2019scala-*/Part6}
       
     7 
     7 
     8 
     8 for sd in $files; do
     9 for sd in $files; do
     9   cd $sd
    10   cd $sd
    10   echo $sd
    11   echo $sd
    11   touch .
    12   touch .
    12   cp ../../../marking1/*.sh .
    13   cp ../../../../marking1/drump_test.sh .
    13   cp ../../../marking1/drumb_test4.scala .
    14   cp ../../../../marking1/drumb_test1.scala .
    14   cp ../../../marking1/drumb_test5.scala .
    15   cp ../../../../marking1/drumb_test2.scala .
    15   cp ../../../marking1/drumb_test6.scala .
    16   cp ../../../../marking1/drumb_test3.scala .
    16   cp ../../../marking1/drumb_test7.scala .
    17   cp ../../../../marking1/drumb_test4.scala .
    17   cp ../../../marking1/*.csv .
    18   cp ../../../../marking1/drumb_test5.scala .
    18   ./drumb_test2.sh output
    19   cp ../../../../marking1/drumb_test6.scala .
    19   rm *.sh
    20   cp ../../../../marking1/drumb_test7.scala .
       
    21   cp ../../../../marking1/*.csv .
       
    22   ./drumb_test.sh output
       
    23   rm drump_test.sh
       
    24   rm drumb_test1.scala
       
    25   rm drumb_test2.scala
       
    26   rm drumb_test3.scala
    20   rm drumb_test4.scala
    27   rm drumb_test4.scala
    21   rm drumb_test5.scala
    28   rm drumb_test5.scala
    22   rm drumb_test6.scala
    29   rm drumb_test6.scala
    23   rm drumb_test7.scala
    30   rm drumb_test7.scala
    24   rm *.csv
    31   rm *.csv
    25   cd ..
    32   cd ..
       
    33   cd ..
    26 done
    34 done
    27 
    35 
    28 
    36