Browse Source

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

Jakob Borg 10 years ago
parent
commit
931408037c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build.go

+ 1 - 1
build.go

@@ -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, ","))
 	}