Skip to content

Commit bb5cf96

Browse files
author
Hongbo Zhang
committed
[snapshot] and add env variables for CI
1 parent 4e3a629 commit bb5cf96

File tree

4 files changed

+903
-801
lines changed

4 files changed

+903
-801
lines changed

.travis-ci-before-script.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ set -e
33

44
git submodule update --init --recursive
55

6+
export OCAMLPARAM='_,bin-annot=1'
7+
export OCAMLRUNPARAM=b
8+
69
cd ocaml && ./configure -prefix $(dirname $(pwd)) -no-ocamldoc -no-ocamlbuild && make -j9 world.opt && make install && cd ..
710

811
export PATH=$(pwd)/bin:$PATH

jscomp/Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,10 @@ travis-world-test:./bin/ocaml_pack
131131
# no depend on ./bin/ocaml_pack ./bin/bsc
132132
# since in npm mode, they are generated from a single file
133133
install:
134-
cp ./bin/ocaml_pack ./bin/bsc ../bin
135-
cp ./runtime/*.cmt* ../lib/ocaml
136-
cp ./stdlib/*.cm* ../lib/ocaml
134+
cp ./bin/ocaml_pack ./bin/bsc ../bin/
135+
cp ./runtime/*.cmt* ../lib/ocaml/
136+
cp ./runtime/*.cmj* ../lib/ocaml/
137+
cp ./stdlib/*.cm* ../lib/ocaml/
137138

138139
.PHONY: stdlib
139140
.PHONY: test quicktest release snapshot snapshotcmj

0 commit comments

Comments
 (0)