aboutsummaryrefslogtreecommitdiff
path: root/js/Makefile
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-04-26 14:19:49 -0500
committerJoel Martin <github@martintribe.org>2014-04-26 14:19:49 -0500
commite4393504176dc4da117fde95fc10181a2ea6f929 (patch)
tree1d33db0f4a66edf23dc8b7149bfd080eb2433268 /js/Makefile
parent9b1563a3fb98f04c8280a8840b7dce4f3549234d (diff)
downloadmal-e4393504176dc4da117fde95fc10181a2ea6f929.tar.gz
mal-e4393504176dc4da117fde95fc10181a2ea6f929.zip
JS: switch from josh.js console to jqconsole.
js/web/jqconsole.min.js and web/ansi.css are from https://github.com/replit/jq-console and licensed MIT.
Diffstat (limited to 'js/Makefile')
-rw-r--r--js/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Makefile b/js/Makefile
index 87afef1..02678fb 100644
--- a/js/Makefile
+++ b/js/Makefile
@@ -4,9 +4,9 @@ TESTS = tests/types.js tests/reader.js tests/step5_tco.js
SOURCES_BASE = node_readline.js types.js reader.js printer.js
SOURCES_LISP = env.js core.js stepA_more.js
SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
-WEB_SOURCES = $(SOURCES:node_readline.js=josh_readline.js)
+WEB_SOURCES = $(SOURCES:node_readline.js=jq_readline.js)
-all: node_modules mal.js mal_web.js
+all: node_modules mal.js web/mal.js
node_modules:
npm install
@@ -16,11 +16,11 @@ mal.js: $(SOURCES)
cat $+ | grep -v "= *require('./" >> $@
chmod +x $@
-mal_web.js: $(WEB_SOURCES)
+web/mal.js: $(WEB_SOURCES)
cat $+ | grep -v "= *require('./" > $@
clean:
- rm -f mal.js mal_web.js
+ rm -f mal.js web/mal.js
.PHONY: stats tests $(TESTS)