build.js: support flags

Adds flags to build.js to use rsync, disable linting and use watch mode.
This commit is contained in:
Tomas Matus 2023-07-25 11:32:09 +02:00 committed by Martin Pitt
parent dd38010b9c
commit 3b14e61390
4 changed files with 20 additions and 16 deletions

View file

@ -49,7 +49,7 @@ You can also use
[watch mode](https://esbuild.github.io/api/#watch) to
automatically update the bundle on every code change with
$ npm run watch
$ ./build.js -w
or
@ -110,7 +110,7 @@ During fast iterative development, you can also choose to not run eslint/styleli
This speeds up the build and avoids build failures due to e. g. ill-formatted
css or other issues:
$ make LINT=0
$ ./build.js -es
# Running tests locally