mirror of
https://github.com/minoplhy/scriptbox.git
synced 2024-12-05 01:46:57 +00:00
build_gitea : didn't read the docs
This commit is contained in:
parent
3f45c72a4a
commit
29d43470cc
@ -75,7 +75,7 @@ if [[ "$BUILD_STATIC" == "True" ]]
|
||||
then
|
||||
mkdir -p $DESTINATION/gitea-static
|
||||
LDFLAGS="-X \"code.gitea.io/gitea/modules/setting.AppWorkPath=/var/lib/gitea/\" -X \"code.gitea.io/gitea/modules/setting.CustomConf=/etc/gitea/app.ini\"" TAGS="bindata sqlite sqlite_unlock_notify" GOOS=linux GOARCH=amd64 make frontend
|
||||
mv $MAKE_DIR/gitea/web_src/* $DESTINATION/gitea-static
|
||||
mv $MAKE_DIR/gitea/public/* $DESTINATION/gitea-static
|
||||
else
|
||||
LDFLAGS="-X \"code.gitea.io/gitea/modules/setting.AppWorkPath=/var/lib/gitea/\" -X \"code.gitea.io/gitea/modules/setting.CustomConf=/etc/gitea/app.ini\"" TAGS="bindata sqlite sqlite_unlock_notify" GOOS=linux GOARCH=amd64 make build
|
||||
mv gitea $DESTINATION/gitea
|
||||
|
Loading…
Reference in New Issue
Block a user