mk_jars
changeset 297 eab44dbee855
parent 296 12dc251fc47e
child 348 b5b6ed38c2f2
equal deleted inserted replaced
296:12dc251fc47e 297:eab44dbee855
     4 for sd in solutions*; do
     4 for sd in solutions*; do
     5   cd $sd
     5   cd $sd
     6   for fl in *.scala; do
     6   for fl in *.scala; do
     7      echo "$fl compiled to ${fl%".scala"}.jar"
     7      echo "$fl compiled to ${fl%".scala"}.jar"
     8      scalac -d ${fl%".scala"}.jar $fl
     8      scalac -d ${fl%".scala"}.jar $fl
     9      echo "copied to ../template${sd#"solutions"}"
     9      echo "copied to ../templates${sd#"solutions"}/"
    10      cp ${fl%".scala"}.jar ../template${sd#"solutions"}
    10      cp ${fl%".scala"}.jar ../templates${sd#"solutions"}/
    11   done
    11   done
    12   cd ..
    12   cd ..
    13 done
    13 done