30 lines
1.2 KiB
Go
30 lines
1.2 KiB
Go
|
||
# CLI tool, only in development environment.
|
||
# https://goframe.org/pages/viewpage.action?pageId=3673173
|
||
gfcli:
|
||
build:
|
||
name: "goview" # 编译后的可执行文件名称
|
||
# arch: "all" #不填默认当前系统架构,可选:386,amd64,arm,all
|
||
# system: "all" #不填默认当前系统平台,可选:linux,darwin,windows,all
|
||
mod: "none"
|
||
cgo: 0
|
||
# packSrc: "resource" # 将resource目录打包进可执行文件,静态资源无需单独部署
|
||
# packDst: "internal/packed/packed.go" # 打包后生成的Go文件路径,一般使用相对路径指定到本项目目录中
|
||
version: ""
|
||
output: "./temp/goview" # 可执行文件生成路径
|
||
extra: ""
|
||
|
||
docker:
|
||
build: "-a amd64 -s linux -p temp -ew"
|
||
tagPrefixes:
|
||
- my.image.pub/my-app
|
||
|
||
gen:
|
||
dao:
|
||
- link: "mysql:goview:nWkG43Xxnbi2Y44C@tcp(127.0.0.1:3306)/goview?loc=Local&parseTime=true"
|
||
removePrefix: "hg_"
|
||
descriptionTag: true
|
||
noModelComment: true
|
||
jsonCase: "CamelLower"
|
||
gJsonSupport: true
|
||
clear: false |