Update build to always remove the node_modules

pull/10616/head
Chris Goller 2016-11-08 15:42:56 -06:00
parent c4572805b7
commit 10f39ba5dd
2 changed files with 3 additions and 0 deletions

View File

@ -69,5 +69,6 @@ run-dev: ${BINARY}
clean:
if [ -f ${BINARY} ] ; then rm ${BINARY} ; fi
cd ui && npm run clean
cd ui && rm -rf node_modules
.PHONY: clean test jstest gotest run

View File

@ -13,6 +13,8 @@ dependencies:
- git config --global url."git@github.com:".insteadOf "https://github.com/"
- mkdir -p ${HOME}/.go_workspace/src/github.com/influxdata
- ln -sf ${HOME}/chronograf ${HOME}/.go_workspace/src/github.com/influxdata
- "make clean":
pwd: ../.go_workspace/src/github.com/influxdata/chronograf
- "make":
pwd: ../.go_workspace/src/github.com/influxdata/chronograf