Skip to content

Commit

Permalink
Refine build command of gmdeploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenDang committed May 10, 2021
1 parent efb204c commit 63251c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gmdeploy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func main() {
switch targetOS {
case "darwin":
// Compile
cmd := exec.Command("bash", "-c", "go build -ldflags='-s -w' .")
cmd := exec.Command("bash", "-c", fmt.Sprintf("go build -ldflags='-s -w' -o %s", appName))
cmd.Dir = projectPath
RunCmd(cmd)

Expand Down

0 comments on commit 63251c6

Please sign in to comment.