mirror of
https://github.com/gogs/gogs.git
synced 2026-05-07 05:06:31 +02:00
chore: bunch of minor tidy-ups
[skip ci]
This commit is contained in:
@@ -10,8 +10,10 @@ tasks:
|
||||
web:
|
||||
desc: Build the binary and start the web server
|
||||
deps: [build]
|
||||
env:
|
||||
GOGS_WORK_DIR: '{{.ROOT_DIR}}'
|
||||
cmds:
|
||||
- ./gogs web
|
||||
- .bin/gogs web
|
||||
|
||||
build:
|
||||
desc: Build the binary
|
||||
@@ -22,7 +24,7 @@ tasks:
|
||||
-X "{{.PKG_PATH}}.BuildCommit={{.BUILD_COMMIT}}"
|
||||
'
|
||||
-tags '{{.TAGS}}'
|
||||
-trimpath -o gogs{{.BINARY_EXT}}
|
||||
-trimpath -o .bin/gogs{{.BINARY_EXT}}
|
||||
vars:
|
||||
PKG_PATH: gogs.io/gogs/internal/conf
|
||||
BUILD_TIME:
|
||||
|
||||
Reference in New Issue
Block a user