aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-02-21 21:41:27 +0700
committerShulhan <ms@kilabit.info>2021-02-21 21:41:27 +0700
commit34f8dc935260582487bf451b6e9301e83414bb98 (patch)
treeb89aad6491c1dba8840813400615d8234b95fbf3 /Makefile
parente554256948d0f7b4b71dfa78014e2172f11fc1c6 (diff)
downloadciigo-34f8dc935260582487bf451b6e9301e83414bb98.tar.xz
all: rewrite to use the watcher
Now that we have the watcher which task are to watch the asciidoc files and template files, we can use it in server to minimize duplicate code. This changes refactoring the htmlGenerator to initialize the HTML template from internal or memfs, so the caller did not need to check by itself.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5877c7a..bd12add 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ RELEASES:= \
.PHONY: all lint test install serve build build-release
.FORCE:
-all: lint test
+all: test lint
lint:
golangci-lint run ./...