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:
Daniel Lo Nigro 2015-11-15 21:44:03 -08:00
parent 0076204f80
commit 828ce54637
2 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,6 @@ watch: clean
lint:
node node_modules/.bin/eslint packages/*/src
flow
clean: test-clean
rm -rf packages/babel-polyfill/browser*
@ -47,6 +46,7 @@ test-cov: clean
test-ci:
make lint
NODE_ENV=test make bootstrap
./node_modules/.bin/flow check
./scripts/test-cov.sh
cat ./coverage/coverage.json | ./node_modules/codecov.io/bin/codecov.io.js

View File

@ -14,6 +14,7 @@
"derequire": "^2.0.2",
"es5-shim": "^4.1.7",
"eslint": "1.8.0",
"flow-bin": "^0.18.1",
"fs-readdir-recursive": "^0.1.2",
"gulp": "^3.9.0",
"gulp-babel": "^5.3.0",