mirror of
https://github.com/kopia/kopia.git
synced 2026-03-27 18:42:26 -04:00
27 lines
484 B
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
|