Build should use -i (keep built pkg:s) and -v (verbose)

This commit is contained in:
Jakob Borg 2015-12-08 09:14:52 +01:00
parent 3318651565
commit 931408037c

View File

@ -219,7 +219,7 @@ func build(pkg string, tags []string) {
}
rmr(binary)
args := []string{"build", "-ldflags", ldflags()}
args := []string{"build", "-i", "-v", "-ldflags", ldflags()}
if len(tags) > 0 {
args = append(args, "-tags", strings.Join(tags, ","))
}