aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-12-18 23:21:39 -0600
committerJoel Martin <github@martintribe.org>2015-01-09 16:16:51 -0600
commit821930dbd9febf45fad25aefa9bc64e8ace4c737 (patch)
tree8afc5c6c99b5d670fefc75dbcc1b71acda1e2e35 /Makefile
parentb8ee29b22fbaa7a01f2754b4d6dd9af52e02017c (diff)
downloadmal-821930dbd9febf45fad25aefa9bc64e8ace4c737.tar.gz
mal-821930dbd9febf45fad25aefa9bc64e8ace4c737.zip
Scala: all steps 0-9 but no metadata.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bd25ad7..7716a44 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ PYTHON = python
#
IMPLS = bash c clojure coffee cs go java js make mal perl php ps \
- python r ruby rust vb
+ python r ruby rust scala vb
step0 = step0_repl
step1 = step1_read_print
@@ -65,6 +65,7 @@ python_STEP_TO_PROG = python/$($(1)).py
r_STEP_TO_PROG = r/$($(1)).r
ruby_STEP_TO_PROG = ruby/$($(1)).rb
rust_STEP_TO_PROG = rust/target/$($(1))
+scala_STEP_TO_PROG = scala/$($(1)).scala
vb_STEP_TO_PROG = vb/$($(1)).exe
@@ -85,6 +86,7 @@ python_RUNSTEP = $(PYTHON) ../$(2) $(3)
r_RUNSTEP = Rscript ../$(2) $(3)
ruby_RUNSTEP = ruby ../$(2) $(3)
rust_RUNSTEP = ../$(2) $(3)
+scala_RUNSTEP = sbt 'run-main $($(1))$(if $(3), $(3),)'
vb_RUNSTEP = mono ../$(2) --raw $(3)
# Extra options to pass to runtest.py