Skip to content

Commit

Permalink
[snapshot] and add env variables for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Hongbo Zhang committed May 9, 2016
1 parent 4e3a629 commit bb5cf96
Show file tree
Hide file tree
Showing 4 changed files with 903 additions and 801 deletions.
3 changes: 3 additions & 0 deletions .travis-ci-before-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ set -e

git submodule update --init --recursive

export OCAMLPARAM='_,bin-annot=1'
export OCAMLRUNPARAM=b

cd ocaml && ./configure -prefix $(dirname $(pwd)) -no-ocamldoc -no-ocamlbuild && make -j9 world.opt && make install && cd ..

export PATH=$(pwd)/bin:$PATH
Expand Down
7 changes: 4 additions & 3 deletions jscomp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,10 @@ travis-world-test:./bin/ocaml_pack
# no depend on ./bin/ocaml_pack ./bin/bsc
# since in npm mode, they are generated from a single file
install:
cp ./bin/ocaml_pack ./bin/bsc ../bin
cp ./runtime/*.cmt* ../lib/ocaml
cp ./stdlib/*.cm* ../lib/ocaml
cp ./bin/ocaml_pack ./bin/bsc ../bin/
cp ./runtime/*.cmt* ../lib/ocaml/
cp ./runtime/*.cmj* ../lib/ocaml/
cp ./stdlib/*.cm* ../lib/ocaml/

.PHONY: stdlib
.PHONY: test quicktest release snapshot snapshotcmj
Expand Down
Loading

0 comments on commit bb5cf96

Please sign in to comment.