Update README.md

This commit is contained in:
xxq250 2023-07-18 16:25:31 +08:00
parent c50e8fb43e
commit ad83be94bc
1 changed files with 5 additions and 1 deletions

View File

@ -41,6 +41,10 @@
## 编译
```
sh build.sh
```
类Linux平台在项目根目录运行
```shell
# 编译Linux 64位可执行程序
@ -59,7 +63,7 @@ Win平台在项目根目录运行:
SET CGO_ENABLED=0
SET GOOS=linux
SET GOARCH=amd64
sh build.sh
go build -o gitea main.go
...
```