hedera-web/debian/rules

19 lines
315 B
Makefile
Executable File

#!/usr/bin/make -f
#export DH_VERBOSE=1
%:
dh $@
clean:
npm --production run clean
dh_clean $@
build:
npm install --no-audit --prefer-offline
npm --production run build
mkdir build-deps
cp package.json package-lock.json build-deps
(cd build-deps && npm install --omit=dev --no-audit --prefer-offline)