Update build to always remove the node_modules
parent
c4572805b7
commit
10f39ba5dd
1
Makefile
1
Makefile
|
@ -69,5 +69,6 @@ run-dev: ${BINARY}
|
||||||
clean:
|
clean:
|
||||||
if [ -f ${BINARY} ] ; then rm ${BINARY} ; fi
|
if [ -f ${BINARY} ] ; then rm ${BINARY} ; fi
|
||||||
cd ui && npm run clean
|
cd ui && npm run clean
|
||||||
|
cd ui && rm -rf node_modules
|
||||||
|
|
||||||
.PHONY: clean test jstest gotest run
|
.PHONY: clean test jstest gotest run
|
||||||
|
|
|
@ -13,6 +13,8 @@ dependencies:
|
||||||
- git config --global url."git@github.com:".insteadOf "https://github.com/"
|
- git config --global url."git@github.com:".insteadOf "https://github.com/"
|
||||||
- mkdir -p ${HOME}/.go_workspace/src/github.com/influxdata
|
- mkdir -p ${HOME}/.go_workspace/src/github.com/influxdata
|
||||||
- ln -sf ${HOME}/chronograf ${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":
|
- "make":
|
||||||
pwd: ../.go_workspace/src/github.com/influxdata/chronograf
|
pwd: ../.go_workspace/src/github.com/influxdata/chronograf
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue