Skip to content

Commit 495df73

Browse files
author
Hongbo Zhang
committed
debug prepublish later
1 parent 63940e7 commit 495df73

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
language: node_js
22
env:
3-
- OCAML=4.02.3
43
- BS_TRAVIS_CI=1
54
node_js:
65
- "4.0"

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,11 @@
2121
"coverage":
2222
"`npm bin`/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- './lib/js/test/*test.js' -R spec",
2323
"coveralls": "npm run-script coverage && node ./node_modules/.bin/coveralls < coverage/lcov.info",
24-
"postinstall" : "./scripts/postinstall.sh",
25-
"prepublish" : "./scripts/prepublish.sh"
24+
"postinstall" : "./scripts/postinstall.sh"
2625
},
2726

2827
"name": "bs-platform",
29-
"version": "0.2.1",
28+
"version": "0.2.3",
3029
"description": "bucklescript compiler, ocaml standard libary by bucklescript and its required runtime support",
3130

3231
"repository": {

scripts/prepublish.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
#!/bin/sh
22
set -e
33

4-
cd jscomp && watchman watch-del . || true && cd ..
5-
cd jscomp && git clean -dfx && cd ..
6-
cd ocaml && git clean -dfx && git archive HEAD -o ../ocaml.tar.gz
4+
# cd jscomp && watchman watch-del . || true && cd ..
5+
# cd jscomp && git clean -dfx && cd ..
6+
7+
# have no idea why the tar.gz is not correct
8+
cd ocaml && git clean -dfx && git archive HEAD -o ../ocaml.tar.gz && cd ..
79

810

0 commit comments

Comments
 (0)