Files
kopia/htmlui/Makefile
Jarek Kowalski ca4bf81b2f ci: dependency upgrades (#1504)
* ci: upgraded Node to 16.13.0 LTS

* ci: upgraded Hugo to 0.89.2
2021-11-09 05:50:48 -08:00

29 lines
590 B
Makefile

all:
include ../tools/tools.mk
build-html: build/index.html
deps: node_modules/.up-to-date
install:
$(npm) $(npm_flags) install --no-audit
$(npm) $(npm_flags) audit --production
dev: node_modules/.up-to-date
$(npm) $(npm_flags) run start
build/index.html: node_modules/.up-to-date src/* public/*
$(npm) $(npm_flags) run build
node_modules/.up-to-date: $(npm) package.json package-lock.json
$(npm) $(npm_flags) install --no-audit
$(npm) $(npm_flags) audit --production
echo updated > node_modules/.up-to-date
clean:
rm -rf node_modules build
test:
$(npm) $(npm_flags) test