gbb
gbb copied to clipboard
Go project compilation assistant written in golang.
```shell total 8240 -rw-r--r-- 1 voidint staff 634B 9 11 21:58 Dockerfile -rw-r--r-- 1 voidint staff 11K 12 17 2016 LICENSE -rw-r--r-- 1 voidint staff 13K 9 11 21:59 README.md...
[semver](https://github.com/Masterminds/semver)
假设当前为`Linux amd64`平台,`GOPATH`下`github.com/voidint/gbb/cmd/test`目录下仅包含一个名为`main_windows.go`的源代码文件,使用gbb编译整个项目,会发生报错: `build constraints exclude all Go files in xxxxxx`。
- 添加`build`子命令,将现有的gbb编译功能代码转移到`build`子命令下。 - 理想情况下,兼容现有gbb调用方式。即未指定子命令(即只输入了`gbb`)情况下,则等价于调用`gbb build`。保持用户使用习惯不变。