author | Christian Urban <urbanc@in.tum.de> |
Sat, 02 Nov 2019 13:19:45 +0000 | |
changeset 304 | 4a9d1153ccc5 |
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 |