marking2/mk-advanced
changeset 331 e3878cdd38bc
parent 260 b4812c877b05
child 332 703c7e42bf46
equal deleted inserted replaced
330:c3d3461a5e77 331:e3878cdd38bc
     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:-assignment20187-*}
     6 files=${1:-assignment2019scala-*/Part7}
     7 
     7 
     8 for sd in $files; do
     8 for sd in $files; do
     9   cd $sd
     9   cd $sd
    10   echo $sd
    10   echo $sd
    11   touch .
    11   touch .
    12   cp ../../../marking2/danube_test2.sh .
    12   cp ../../../../../marking2/danube_test.sh .
    13   cp ../../../marking2/danube_test3.scala .
    13   cp ../../../../../marking2/danube_test1.scala .
    14   cp ../../../marking2/danube_test4.scala .
    14   cp ../../../../../marking2/danube_test2.scala .
    15   cp ../../../marking2/danube_test5.scala .
    15   cp ../../../../../marking2/danube_test3.scala .
    16   cp ../../../marking2/danube_test6.scala .
    16   cp ../../../../../marking2/danube_test4.scala .
    17   cp ../../../marking2/movies.csv .
    17   cp ../../../../../marking2/danube_test5.scala .
    18   cp ../../../marking2/ratings.csv .
    18   cp ../../../../../marking2/danube_test6.scala .
    19   ./danube_test2.sh output
    19   cp ../../../../../marking2/movies.csv .
       
    20   cp ../../../../../marking2/ratings.csv .
       
    21   ./danube_test.sh output
    20   rm danube_test2.sh
    22   rm danube_test2.sh
       
    23   rm danube_test1.scala
       
    24   rm danube_test2.scala
    21   rm danube_test3.scala
    25   rm danube_test3.scala
    22   rm danube_test4.scala
    26   rm danube_test4.scala
    23   rm danube_test5.scala
    27   rm danube_test5.scala
    24   rm danube_test6.scala
    28   rm danube_test6.scala
    25   rm ratings.csv
    29   rm ratings.csv
    26   rm movies.csv
    30   rm movies.csv
    27   cd ..
    31   cd ..
       
    32   cd ..
    28 done
    33 done
    29 
    34 
    30 
    35