build.js: support flags

Adds flags to build.js to use rsync, disable linting and use watch mode.

(cherry picked from commit 3b14e61390)
This commit is contained in:
Tomas Matus 2023-07-25 11:32:09 +02:00 committed by Justin Stephenson
parent f05760e535
commit 9026069b3c
4 changed files with 20 additions and 16 deletions

View file

@ -29,7 +29,7 @@ recordings generated by the tlog component.
%setup -q -n %{name}
%build
# Nothing to build
LINT=0 NODE_ENV=production make
%install
%make_install PREFIX=/usr