Skip to content
Browse files

Fix build breakage and add tutorial run script.

  • Loading branch information...
1 parent f8f8846 commit fe803c685bbfc68e20ddd79f44ee8ff61192ef31 @azymnis azymnis committed
Showing with 16 additions and 2 deletions.
  1. +1 −2 build.sbt
  2. +15 −0 scripts/test_tutorials.sh
View
3 build.sbt
@@ -43,7 +43,6 @@ excludedJars in assembly <<= (fullClasspath in assembly) map { cp =>
// Some of these files have duplicates, let's ignore:
mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) =>
{
- case "project.clj" => MergeStrategy.last // leiningen build files
- case x => old(x)
+ case _ => MergeStrategy.last // leiningen build files
}
}
View
15 scripts/test_tutorials.sh
@@ -0,0 +1,15 @@
+sbt assembly
+scripts/scald.rb --local tutorial/Tutorial0.scala
+scripts/scald.rb --local tutorial/Tutorial1.scala
+scripts/scald.rb --local tutorial/Tutorial2.scala
+scripts/scald.rb \
+ --local tutorial/Tutorial3.scala \
+ --input tutorial/data/hello.txt
+scripts/scald.rb \
+ --local tutorial/Tutorial4.scala \
+ --input tutorial/data/hello.txt \
+ --output tutorial/data/output4.txt
+scripts/scald.rb \
+ --local tutorial/Tutorial5.scala \
+ --input tutorial/data/hello.txt \
+ --output tutorial/data/output5.txt

0 comments on commit fe803c6

Please sign in to comment.
Something went wrong with that request. Please try again.