mirror of
https://github.com/kanaka/mal.git
synced 2024-09-20 01:57:09 +03:00
Travis: fix coffee and es6
- coffee: install npm deps when built - es6: create build directory
This commit is contained in:
parent
4dbfd42675
commit
44571c102b
@ -21,7 +21,7 @@ env:
|
||||
- IMPL=forth
|
||||
- IMPL=fsharp
|
||||
- IMPL=go
|
||||
- IMPL=groovy
|
||||
- IMPL=groovy # stepA conj failures
|
||||
#- IMPL=guile # docker build issues
|
||||
- IMPL=haskell
|
||||
- IMPL=java
|
||||
|
@ -5,7 +5,11 @@ SOURCES_BASE = node_readline.coffee types.coffee \
|
||||
SOURCES_LISP = env.coffee core.coffee stepA_mal.coffee
|
||||
SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
|
||||
|
||||
#all: mal.rb
|
||||
all: node_modules
|
||||
|
||||
node_modules:
|
||||
npm install
|
||||
|
||||
|
||||
.PHONY: stats tests $(TESTS)
|
||||
|
||||
|
@ -10,6 +10,7 @@ STEPS = step0_repl step1_read_print step2_eval step3_env \
|
||||
all: node_modules $(foreach s,$(STEPS),build/$(s).js)
|
||||
|
||||
build/%.js: %.js
|
||||
@mkdir -p $(dir $@)
|
||||
babel --source-maps true $< --out-file $@
|
||||
|
||||
build/step0_repl.js: step0_repl.js build/node_readline.js
|
||||
|
@ -37,4 +37,8 @@ RUN apt-get -y install mercurial libffi-dev pkg-config libz-dev libbz2-dev \
|
||||
# TODO: combine these
|
||||
RUN cd /tmp/ && hg clone https://bitbucket.org/pypy/pypy pypy
|
||||
RUN cd /tmp/pypy && make
|
||||
|
||||
|
||||
RUN ln -sf /tmp/pypy/rpython/bin/rpython /usr/local/bin/rpython
|
||||
RUN ln -sf /tmp/pypy/pypy-c /usr/local/bin/pypy
|
||||
RUN apt-get -y autoremove pypy
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user