Skip to content

Commit

Permalink
add build mod and param config
Browse files Browse the repository at this point in the history
  • Loading branch information
livbarn committed Aug 1, 2019
1 parent 94c9519 commit dcb65af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runner/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ func build() (string, bool) {
buildLog("Building...")

cmd := exec.Command("go", "build", buildMod(), "-o", buildPath(), root())
runnerLog("go" + "build" + buildMod() + "-o" + buildPath() + root())
runnerLog("go " + "build " + buildMod() + " -o " + buildPath() + root())

stderr, err := cmd.StderrPipe()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ func run() bool {
runnerLog("Running...")

cmd := exec.Command(buildPath(), buildParam())
runnerLog("run cmd:" + buildParam())
runnerLog(buildPath() + " " + buildParam())

stderr, err := cmd.StderrPipe()
if err != nil {
Expand Down

0 comments on commit dcb65af

Please sign in to comment.