mk_jars
changeset 296 12dc251fc47e
child 297 eab44dbee855
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mk_jars	Thu Oct 31 10:44:10 2019 +0000
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -e
+
+for sd in solutions*; do
+  cd $sd
+  for fl in *.scala; do
+     echo "$fl compiled to ${fl%".scala"}.jar"
+     scalac -d ${fl%".scala"}.jar $fl
+     echo "copied to ../template${sd#"solutions"}"
+     cp ${fl%".scala"}.jar ../template${sd#"solutions"}
+  done
+  cd ..
+done