Ensure that build artefacts are cleaned before building

This commit is contained in:
Tobie Morgan Hitchcock 2016-08-25 10:50:33 +01:00
parent 7ae94e1e31
commit 63d8a71f95

View file

@ -108,7 +108,10 @@ install:
ember: ember:
npm install -g bower npm install -g bower
npm install -g ember-cli npm install -g ember-cli
cd gui && rm -rf dist tmp
cd gui && npm cache clean cd gui && npm cache clean
cd gui && bower cache clean cd gui && bower cache clean
cd gui && rm -rf node_modules
cd gui && rm -rf bower_components
cd gui && npm install && bower install cd gui && npm install && bower install
cd gui && ember build -prod -o ../app/ cd gui && ember build -prod -o ../app/