build(cgi-bin): add front-end build process

main
Tsu-ba-me 4 years ago
parent 9945915f5a
commit 6cdd216b9c
  1. 1
      anvil.spec.in
  2. 9
      striker-ui/Makefile.am

@ -208,6 +208,7 @@ Provides support for asynchronous disaster recovery hosts in an Anvil! cluster.
./autogen.sh
%{configure}
make %{_smp_mflags}
make build -f striker-ui/Makefile
%install
rm -rf %{buildroot}

@ -0,0 +1,9 @@
MAINTAINERCLEANFILES = Makefile.in
htmldir = $(localstatedir)/www/html
build:
-@echo "Install node modules (dependencies) prior to building."
npm clean-install
-@echo "Build front-end project."
npm run build
Loading…
Cancel
Save