1
1
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:
Joel Martin 2015-10-07 23:32:45 -05:00
parent 4dbfd42675
commit 44571c102b
4 changed files with 12 additions and 3 deletions

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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