优化编译

This commit is contained in:
dragon
2025-01-10 17:04:38 +08:00
parent e663684a0a
commit 9cada8facc
2 changed files with 10 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ fmt:
"$(GOPATH)/bin/gofumpt" -l -w . "$(GOPATH)/bin/gofumpt" -l -w .
gitea-pages: $(shell find . -type f -name "*.go" ) go.mod go.sum gitea-pages: $(shell find . -type f -name "*.go" ) go.mod go.sum
@CGO_ENABLED=0 go build -o $@ . @CGO_ENABLED=0 go build -ldflags="-s -w" -o $@ .
.PHONY: debug .PHONY: debug

View File

@@ -2,7 +2,9 @@
> 新一代 Gitea Pages替换之前的 caddy-gitea-proxy > 新一代 Gitea Pages替换之前的 caddy-gitea-proxy
**注意**: 此项目尚未完工 **此项目是 Dragon's Zone HomeLab 的一部分**
本项目的侧重于功能实现,并未考虑任何性能优化,亦未考虑大规模部署的情况,由此带来的任何问题与项目无关。
## Feature ## Feature
@@ -11,7 +13,11 @@
## TODO ## TODO
- [ ] http01 自动签发证书 (CNAME)
- [ ] Web 钩子触发更新
- [ ] OAuth2 授权访问私有页面 - [ ] OAuth2 授权访问私有页面
- [ ] ~~http01 自动签发证书~~: 交由 Caddy 完成
- [ ] ~~Web 钩子触发更新~~: 对实时性需求不大
## LICENSE
此项目使用 [Apache-2.0](./LICENSE)