aboutsummaryrefslogtreecommitdiff
path: root/js/Makefile
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-04-23 22:03:45 -0500
committerJoel Martin <github@martintribe.org>2014-04-23 22:03:45 -0500
commite18f93f50711d475c407243c94d26daae5e814cc (patch)
tree171535dbe0375e22e0e2de44c6f8012e14f5bd42 /js/Makefile
parent6301e0b6374cecc5599665be14d6ddc6a31ce1e8 (diff)
parente47ddca2f8d80145386a377fc81a738d89c46cf0 (diff)
downloadmal-e18f93f50711d475c407243c94d26daae5e814cc.tar.gz
mal-e18f93f50711d475c407243c94d26daae5e814cc.zip
Merge commit 'e47ddca2f8d80145386a377fc81a738d89c46cf0'
Diffstat (limited to 'js/Makefile')
-rw-r--r--js/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/Makefile b/js/Makefile
index 36b9caa..87afef1 100644
--- a/js/Makefile
+++ b/js/Makefile
@@ -6,7 +6,10 @@ SOURCES_LISP = env.js core.js stepA_more.js
SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
WEB_SOURCES = $(SOURCES:node_readline.js=josh_readline.js)
-all: mal.js mal_web.js
+all: node_modules mal.js mal_web.js
+
+node_modules:
+ npm install
mal.js: $(SOURCES)
echo "#!/usr/bin/env node" > $@