mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-08 17:24:08 +00:00
Build should use -i (keep built pkg:s) and -v (verbose)
This commit is contained in:
parent
3318651565
commit
931408037c
2
build.go
2
build.go
@ -219,7 +219,7 @@ func build(pkg string, tags []string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
rmr(binary)
|
rmr(binary)
|
||||||
args := []string{"build", "-ldflags", ldflags()}
|
args := []string{"build", "-i", "-v", "-ldflags", ldflags()}
|
||||||
if len(tags) > 0 {
|
if len(tags) > 0 {
|
||||||
args = append(args, "-tags", strings.Join(tags, ","))
|
args = append(args, "-tags", strings.Join(tags, ","))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user