Run apm clean instead of deleting node_modules

This ensures removed modules are uninstalled before specs run but
unchanged modules can be cached between builds.
This commit is contained in:
Kevin Sawicki 2013-09-01 18:32:44 -07:00
parent 1512029864
commit f5bb0333b9

View File

@ -7,5 +7,6 @@ cd "$(dirname "$0")/.."
rm -rf ~/.atom
git clean -dff
rm -fr node_modules
./script/test
./script/bootstrap
./node_modules/.bin/apm clean
./node_modules/.bin/grunt ci --stack --no-color