feat: add verbose build flags
This commit is contained in:
parent
20b61c9d20
commit
a892996d4d
@ -79,7 +79,7 @@ func build(packageName, destDir string, platform map[string]string, ldflags stri
|
|||||||
/*------------*/
|
/*------------*/
|
||||||
|
|
||||||
// command-line options for the `go build` command
|
// command-line options for the `go build` command
|
||||||
buildOptions := []string{"build", "-buildmode", "exe", "-ldflags", ldflags, "-o", buildFilePath, packagePath}
|
buildOptions := []string{"build", "-v", "-x", "-buildmode", "exe", "-ldflags", ldflags, "-o", buildFilePath, packagePath}
|
||||||
|
|
||||||
// generate `go build` command
|
// generate `go build` command
|
||||||
buildCmd := exec.Command("go", buildOptions...)
|
buildCmd := exec.Command("go", buildOptions...)
|
||||||
|
Loading…
Reference in New Issue
Block a user