build.js: support flags
Adds flags to build.js to use rsync, disable linting and use watch mode.
This commit is contained in:
parent
dd38010b9c
commit
3b14e61390
4 changed files with 20 additions and 16 deletions
2
Makefile
2
Makefile
|
|
@ -83,7 +83,7 @@ $(DIST_TEST): $(NODE_MODULES_TEST) $(COCKPIT_REPO_STAMP) $(shell find src/ -type
|
|||
NODE_ENV=$(NODE_ENV) ./build.js
|
||||
|
||||
watch: $(NODE_MODULES_TEST) $(COCKPIT_REPO_STAMP)
|
||||
NODE_ENV=$(NODE_ENV) npm run watch
|
||||
NODE_ENV=$(NODE_ENV) ./build.js --watch
|
||||
|
||||
clean:
|
||||
rm -rf dist/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue