Files
kopia/htmlui/Makefile

27 lines
484 B
Makefile

all:
include ../tools/tools.mk
build-html: build/index.html
deps: node_modules/.up-to-date
install:
$(npm) install
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
$(retry) $(npm) $(npm_flags) install
echo updated > node_modules/.up-to-date
clean:
rm -rf node_modules build
test:
$(npm) $(npm_flags) test