mirror of
https://github.com/kopia/kopia.git
synced 2026-01-26 15:28:06 -05:00
29 lines
590 B
Makefile
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
|