Run Flow after building so that it actually runs properly in a CI run. It seems like there's a bunch of "module not found" if you run a Flow check before building, even after running "npm install".
This commit is contained in:
parent
0076204f80
commit
828ce54637
2
Makefile
2
Makefile
@ -20,7 +20,6 @@ watch: clean
|
|||||||
|
|
||||||
lint:
|
lint:
|
||||||
node node_modules/.bin/eslint packages/*/src
|
node node_modules/.bin/eslint packages/*/src
|
||||||
flow
|
|
||||||
|
|
||||||
clean: test-clean
|
clean: test-clean
|
||||||
rm -rf packages/babel-polyfill/browser*
|
rm -rf packages/babel-polyfill/browser*
|
||||||
@ -47,6 +46,7 @@ test-cov: clean
|
|||||||
test-ci:
|
test-ci:
|
||||||
make lint
|
make lint
|
||||||
NODE_ENV=test make bootstrap
|
NODE_ENV=test make bootstrap
|
||||||
|
./node_modules/.bin/flow check
|
||||||
./scripts/test-cov.sh
|
./scripts/test-cov.sh
|
||||||
cat ./coverage/coverage.json | ./node_modules/codecov.io/bin/codecov.io.js
|
cat ./coverage/coverage.json | ./node_modules/codecov.io/bin/codecov.io.js
|
||||||
|
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"derequire": "^2.0.2",
|
"derequire": "^2.0.2",
|
||||||
"es5-shim": "^4.1.7",
|
"es5-shim": "^4.1.7",
|
||||||
"eslint": "1.8.0",
|
"eslint": "1.8.0",
|
||||||
|
"flow-bin": "^0.18.1",
|
||||||
"fs-readdir-recursive": "^0.1.2",
|
"fs-readdir-recursive": "^0.1.2",
|
||||||
"gulp": "^3.9.0",
|
"gulp": "^3.9.0",
|
||||||
"gulp-babel": "^5.3.0",
|
"gulp-babel": "^5.3.0",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user