补充实现细节
This commit is contained in:
10
Makefile
10
Makefile
@@ -1,3 +1,11 @@
|
||||
fmt:
|
||||
@(test -f "$(GOPATH)/bin/gofumpt" || go install mvdan.cc/gofumpt@latest) && \
|
||||
"$(GOPATH)/bin/gofumpt" -l -w .
|
||||
"$(GOPATH)/bin/gofumpt" -l -w .
|
||||
|
||||
gitea-pages: $(shell find . -type f -name "*.go" ) go.mod go.sum
|
||||
@CGO_ENABLED=0 go build -o $@ .
|
||||
|
||||
.PHONY: debug
|
||||
|
||||
debug: gitea-pages
|
||||
@./gitea-pages -conf config-local.yaml -debug
|
||||
Reference in New Issue
Block a user