-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
Description
以下描述都有一个这样的前提:gbb.json
中的tool
属性指定的是go_build
或者go_install
。
./github.com/voidint/test
├── gbb.json
└── main.go
对于这样目录形式的项目,那么在项目根目录(test
)下执行gbb
是可以编译成功的。
如果换成👇
./github.com/voidint/test
├── cmd
│ ├── cmd1
│ │ └── main.go
│ ├── cmd2
│ │ └── main.go
│ └── cmd3
│ └── main.go
└── gbb.json
这样的目录结构,在根目录(test
)下执行gbb
是没法直接编译的。今后将设法支持这种目录结构的编译,达到与gb
相同的体验。