kyaml: fixup Makefile

- Change name of generated binary to `config` to match module name
- Use GOBIN instead of GOPATH to simplify commands
- Export GOBIN environment variable to the `go generate` command so it can find built commands
This commit is contained in:
Phillip Wittrock
2019-11-22 11:49:39 -08:00
parent b240092058
commit f531ac065d
3 changed files with 22 additions and 8 deletions

View File

@@ -7,6 +7,7 @@ require (
github.com/spf13/cobra v0.0.5
github.com/spf13/pflag v1.0.5 // indirect
github.com/stretchr/testify v1.4.0
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
sigs.k8s.io/kustomize/kyaml v0.0.0
sigs.k8s.io/kustomize/pseudo/k8s v0.0.0
)