From a892996d4db0f898f9a4674506472042ea34f3b9 Mon Sep 17 00:00:00 2001 From: Chen Asraf Date: Tue, 3 Sep 2024 01:11:09 +0300 Subject: [PATCH] feat: add verbose build flags --- entrypoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.go b/entrypoint.go index b7c921c..2f1959f 100644 --- a/entrypoint.go +++ b/entrypoint.go @@ -79,7 +79,7 @@ func build(packageName, destDir string, platform map[string]string, ldflags stri /*------------*/ // 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 buildCmd := exec.Command("go", buildOptions...)