mirror of
https://github.com/ayflying/p2p.git
synced 2026-03-05 01:39:23 +00:00
增加更新重启逻辑
This commit is contained in:
25
build/update/hack/config.yaml
Normal file
25
build/update/hack/config.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
# CLI tool, only in development environment.
|
||||
# https://goframe.org/docs/cli
|
||||
gfcli:
|
||||
build:
|
||||
name: "update"
|
||||
arch: "amd64"
|
||||
system: "windows"
|
||||
mod: "none"
|
||||
# packSrc: "resource,manifest"
|
||||
version: "v1.0.0"
|
||||
# output: "./bin/"
|
||||
# extra: -trimpath -ldflags="-s -w -H=windowsgui"
|
||||
extra: -trimpath -ldflags="-s -w"
|
||||
# cgo: true
|
||||
dumpEnv: true
|
||||
gen:
|
||||
dao:
|
||||
- link: "mysql:root:12345678@tcp(127.0.0.1:3306)/test"
|
||||
descriptionTag: true
|
||||
|
||||
docker:
|
||||
build: "-a amd64 -s linux -p temp -ew"
|
||||
tagPrefixes:
|
||||
- my.image.pub/my-app
|
||||
Reference in New Issue
Block a user