Skip to content

Commit

Permalink
remove left over binary
Browse files Browse the repository at this point in the history
  • Loading branch information
jondot committed Mar 24, 2019
1 parent 9eedfc3 commit effaf26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ autobrew
vendor/
dist/
goweight
.vscode/
2 changes: 1 addition & 1 deletion pkg/goweight.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func NewGoWeight() *GoWeight {
}

func (g *GoWeight) BuildCurrent() string {
return strings.Split(strings.TrimSpace(run("go build "+g.BuildArgs+" -work -a 2>&1")), "=")[1]
return strings.Split(strings.TrimSpace(run("go build -o goweight-bin-target "+g.BuildArgs+" -work -a 2>&1 && rm goweight-bin-target")), "=")[1]
}
func (g *GoWeight) Process(work string) []*ModuleEntry {

Expand Down

0 comments on commit effaf26

Please sign in to comment.