chore: makefile, cleanup node_modules before generating a new ones
This commit is contained in:
parent
cbb98f5b3f
commit
13fb9daf67
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
|
@ -58,6 +58,7 @@ docs-cleanup:
|
||||||
.PHONY: web-build
|
.PHONY: web-build
|
||||||
## Build JS packages static/js
|
## Build JS packages static/js
|
||||||
web-build:
|
web-build:
|
||||||
|
rm -rf node_modules
|
||||||
docker run -it --rm -v $(PWD):/project --workdir=/project rhodecode/static-files-build:16 -c "npm install && /project/node_modules/.bin/grunt"
|
docker run -it --rm -v $(PWD):/project --workdir=/project rhodecode/static-files-build:16 -c "npm install && /project/node_modules/.bin/grunt"
|
||||||
# run static file check
|
# run static file check
|
||||||
./rhodecode/tests/scripts/static-file-check.sh rhodecode/public/
|
./rhodecode/tests/scripts/static-file-check.sh rhodecode/public/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue