equal
deleted
inserted
replaced
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:-assignment201810-*} |
6 files=${1:-assignment2019scala-*/Part10} |
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 ../../../marking5/bfc_test.sh . |
12 cp ../../../../../marking5/bf_test.sh . |
13 cp ../../../marking5/bf_test5.scala . |
13 cp ../../../../../marking5/bf_test1.scala . |
14 cp ../../../marking5/bf_test6.scala . |
14 cp ../../../../../marking5/bf_test2.scala . |
15 cp ../../../marking5/bf_test7.scala . |
15 cp ../../../../../marking5/bf_test3.scala . |
16 cp ../../../marking5/*.bf . |
16 cp ../../../../../marking5/bf_test4.scala . |
17 ./bfc_test.sh output |
17 cp ../../../../../marking5/bf_test5.scala . |
18 rm bfc_test.sh |
18 cp ../../../../../marking5/bf_test6.scala . |
|
19 cp ../../../../../marking5/bf_test7.scala . |
|
20 cp ../../../../../marking5/*.bf . |
|
21 ./bf_test.sh output |
|
22 rm bf_test.sh |
|
23 rm bf_test1.scala |
|
24 rm bf_test2.scala |
|
25 rm bf_test3.scala |
|
26 rm bf_test4.scala |
19 rm bf_test5.scala |
27 rm bf_test5.scala |
20 rm bf_test6.scala |
28 rm bf_test6.scala |
21 rm bf_test7.scala |
29 rm bf_test7.scala |
22 rm *.bf |
30 rm *.bf |
23 cd .. |
31 cd .. |
|
32 cd .. |
24 done |
33 done |
25 |
34 |
26 |
35 |