| author | Christian Urban <christian.urban@kcl.ac.uk> |
| Sun, 01 Nov 2020 01:21:31 +0000 | |
| changeset 346 | 663c2a9108d1 |
| parent 297 | eab44dbee855 |
| child 348 | b5b6ed38c2f2 |
| permissions | -rwxr-xr-x |
| 296 | 1 |
#!/bin/sh |
2 |
set -e |
|
3 |
||
4 |
for sd in solutions*; do |
|
5 |
cd $sd |
|
6 |
for fl in *.scala; do |
|
7 |
echo "$fl compiled to ${fl%".scala"}.jar"
|
|
8 |
scalac -d ${fl%".scala"}.jar $fl
|
|
| 297 | 9 |
echo "copied to ../templates${sd#"solutions"}/"
|
10 |
cp ${fl%".scala"}.jar ../templates${sd#"solutions"}/
|
|
| 296 | 11 |
done |
12 |
cd .. |
|
13 |
done |