build: create a local GOPATH if none specified
Instead of requiring the developer to set up their own GOPATH somewhere, do like Kubernetes and OpenShift Origin do: git clone xxxxx cd xxxxx make by creating an _output/ directory and linking the local source tree into it, and setting that to be the GOPATH. Signed-off-by: Dan Williams <dcbw@redhat.com>
This commit is contained in:
parent
93b1ff5207
commit
9c44933b58
5 changed files with 54 additions and 50 deletions
|
@ -1,6 +0,0 @@
|
|||
bin2img: $(wildcard *.go)
|
||||
go build -tags "$(BUILDTAGS)" -o $@
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f bin2img
|
Loading…
Add table
Add a link
Reference in a new issue