build: use vendorfmt to make vendor.json more merge friendly
This commit is contained in:
parent
525362d614
commit
94a09b4434
|
@ -2,6 +2,7 @@ SHELL = bash
|
|||
GOTOOLS = \
|
||||
github.com/elazarl/go-bindata-assetfs/... \
|
||||
github.com/jteeuwen/go-bindata/... \
|
||||
github.com/magiconair/vendorfmt/cmd/vendorfmt \
|
||||
github.com/mitchellh/gox \
|
||||
golang.org/x/tools/cmd/cover \
|
||||
golang.org/x/tools/cmd/stringer \
|
||||
|
@ -31,6 +32,7 @@ bin: tools
|
|||
|
||||
# dev creates binaries for testing locally - these are put into ./bin and $GOPATH
|
||||
dev:
|
||||
vendorfmt
|
||||
mkdir -p pkg/$(GOOS)_$(GOARCH)/ bin/
|
||||
go install -ldflags '$(GOLDFLAGS)' -tags '$(GOTAGS)'
|
||||
cp $(GOPATH)/bin/consul bin/
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue