aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2020-05-18 21:47:45 +0700
committerShulhan <m.shulhan@gmail.com>2020-07-26 03:48:51 +0700
commit7574bb6ebff609b9a2889fc573ce3edce256e030 (patch)
treed4a118ef858d5916ed19e1fc93a4d02b9fe4b588 /Makefile
parent7b9cba12d356c6fa9ee3988b5c96f8718aafd5f1 (diff)
downloadrescached-7574bb6ebff609b9a2889fc573ce3edce256e030.tar.xz
all: implement the user interface to change configuration
This is the first web UI (wui) where user can change configuration on the fly. The wui is implemented using svelte.dev and can be accessed on http://127.0.0.1:5380.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f723d09..0d9ba2c 100644
--- a/Makefile
+++ b/Makefile
@@ -57,9 +57,12 @@ coverbrowse: $(COVER_HTML)
lint:
-golangci-lint run --enable-all ./...
-$(RESCACHED_BIN): $(SRC)
+$(RESCACHED_BIN): cmd/rescached/memfs.go $(SRC)
go build $(DEBUG) ./cmd/rescached
+cmd/rescached/memfs.go: internal/generate_memfs.go _www/public/*
+ go run ./internal/generate_memfs.go
+
$(RESOLVER_BIN): $(SRC)
go build $(DEBUG) ./cmd/resolver