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

@ -32,7 +32,7 @@ rm -rf dist
%endif
%build
ESLINT=0 NODE_ENV=production make
LINT=0 NODE_ENV=production make
%install
%make_install PREFIX=/usr