增加更新重启逻辑

This commit is contained in:
2025-10-17 17:03:19 +08:00
parent 7184defc50
commit 248f9a28e7
24 changed files with 604 additions and 65 deletions

View 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