Skip to content

Commit

Permalink
try #2 with only failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkermichael committed Oct 17, 2022
1 parent 2784790 commit 61060ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acceptance/framework/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ type CLI struct {
// NewCLI compiles the `consul-k8s` CLI and returns a handle to execute commands
// with the binary.
func NewCLI() (*CLI, error) {
cmd := exec.Command("go build -o ./consul-k8s")
cmd := exec.Command("go", "build", "-o ./consul-k8s")
cmd.Dir = "../../../cli"
b, err := cmd.Output()
if err != nil {
return nil, err
}
fmt.Println(string(b))

cmd = exec.Command("mv ./consul-k8s ${GOPATH}/bin/")
cmd = exec.Command("mv", "./consul-k8s ${GOPATH}/bin/")
cmd.Dir = "../../../cli"
b, err = cmd.Output()
if err != nil {
Expand Down

0 comments on commit 61060ee

Please sign in to comment.