aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b11a118..ccc477a 100644
--- a/Makefile
+++ b/Makefile
@@ -17,8 +17,12 @@ lint:
-golangci-lint run ./...
-reuse lint
+.PHONY: embed
+embed:
+ go run ./internal/cmd/embed
+
.PHONY: build-linux_amd64
-build-linux_amd64:
+build-linux_amd64: embed
mkdir -p $(BIN_LINUX_AMD64)
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
go build -o $(BIN_LINUX_AMD64)/ ./cmd/...
@@ -39,4 +43,11 @@ deploy-telegram-bot:
##
run-kamusd:
- DEBUG=2 go run ./cmd/kamusd
+ go run ./cmd/kamusd
+
+
+## Run the ciigo to preview the README and CHANGELOG.
+
+.PHONY: serve-docs
+serve-docs:
+ ciigo serve .