Skip to content

Commit

Permalink
修正build_all.go脚本中的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
lwch committed Sep 30, 2021
1 parent fc061ee commit 01f1b8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build_all.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ func build(t target) {
logging.Info("build client...")
cmd = exec.Command("go", "build", "-o", path.Join(buildDir, "np-cli"+t.ext),
"-ldflags", ldflags,
path.Join("code", "client", "main.go"))
path.Join("code", "client", "main.go"),
path.Join("code", "client", "connect.go"))
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
cmd.Env = append(os.Environ(),
Expand Down

0 comments on commit 01f1b8e

Please sign in to comment.