equal
deleted
inserted
replaced
1 #!/bin/sh |
|
2 ###set -e |
|
3 |
|
4 trap "exit" INT |
|
5 |
|
6 files=${1:-assignment2019scala-*/Part8} |
|
7 |
|
8 for sd in $files; do |
|
9 cd $sd |
|
10 echo $sd |
|
11 touch . |
|
12 cp ../../../../../marking3/knight1_test.sh . |
|
13 cp ../../../../../marking3/knight1_test1.scala . |
|
14 cp ../../../../../marking3/knight1_test2.scala . |
|
15 cp ../../../../../marking3/knight1_test3a.scala . |
|
16 cp ../../../../../marking3/knight1_test3b.scala . |
|
17 ./knight1_test.sh output |
|
18 rm knight1_test.sh |
|
19 rm knight1_test1.scala |
|
20 rm knight1_test2.scala |
|
21 rm knight1_test3a.scala |
|
22 rm knight1_test3b.scala |
|
23 cd .. |
|
24 cd .. |
|
25 done |
|
26 |
|
27 |
|