1
0
mirror of https://github.com/beego/bee.git synced 2025-07-11 13:11:02 +00:00

Support go build tags (issue #149)

This commit is contained in:
Mark Mindenhall
2016-02-10 12:39:02 -07:00
parent 1566ca7da1
commit 19b8add1c5
2 changed files with 8 additions and 1 deletions

View File

@ -170,6 +170,9 @@ func Autobuild(files []string, isgenerate bool) {
args := []string{"build"}
args = append(args, "-o", appName)
if buildTags != "" {
args = append(args, "-tags", buildTags)
}
args = append(args, files...)
bcmd := exec.Command(cmdName, args...)