mirror of
https://github.com/ayflying/p2p.git
synced 2026-03-04 17:29:22 +00:00
25 lines
596 B
Go
25 lines
596 B
Go
|
|
# CLI tool, only in development environment.
|
|
# https://goframe.org/docs/cli
|
|
gfcli:
|
|
build:
|
|
name: "p2p"
|
|
arch: "amd64,arm,arm64"
|
|
system: "windows,linux,darwin"
|
|
mod: "none"
|
|
packSrc: "hack,resource,manifest"
|
|
# version: "v1.0.0"
|
|
path: "./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 |