mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
Merge pull request #2987 from sean-/b-fix-dev-paths
Fix `make dev` when the `bin/` directory doesn't exist.
This commit is contained in:
commit
f37303401a
@ -28,9 +28,9 @@ bin: tools
|
|||||||
|
|
||||||
# dev creates binaries for testing locally - these are put into ./bin and $GOPATH
|
# dev creates binaries for testing locally - these are put into ./bin and $GOPATH
|
||||||
dev:
|
dev:
|
||||||
mkdir -p pkg/$(GOOS)_$(GOARCH)
|
mkdir -p pkg/$(GOOS)_$(GOARCH) bin/
|
||||||
go install -ldflags '$(GOLDFLAGS)' -tags '$(GOTAGS)'
|
go install -ldflags '$(GOLDFLAGS)' -tags '$(GOTAGS)'
|
||||||
cp $(GOPATH)/bin/consul bin
|
cp $(GOPATH)/bin/consul bin/
|
||||||
cp $(GOPATH)/bin/consul pkg/$(GOOS)_$(GOARCH)
|
cp $(GOPATH)/bin/consul pkg/$(GOOS)_$(GOARCH)
|
||||||
|
|
||||||
# dist builds binaries for all platforms and packages them for distribution
|
# dist builds binaries for all platforms and packages them for distribution
|
||||||
|
Loading…
x
Reference in New Issue
Block a user