scriptbox/build_gitea/Linux/build.sh
2022-12-02 20:52:57 +07:00

5 lines
296 B
Bash

git clone --depth=1 https://github.com/go-gitea/gitea
cd gitea
LDFLAGS="-X \"code.gitea.io/gitea/modules/setting.AppWorkPath=/var/lib/gitea/\" -X \"code.gitea.io/gitea/modules/setting.CustomConf=/etc/gitea/app.ini\"" GOOS=linux GOARCH=amd64 make build
mv gitea $DESTINATION/gitea
rm -rf $MAKE_DIR