Make: install tools target
This commit is contained in:
parent
f34a2e0d2b
commit
2f374a383e
2 changed files with 5 additions and 2 deletions
|
@ -9,8 +9,7 @@ sudo: false
|
|||
|
||||
before_install:
|
||||
- git config --global url."https://".insteadOf git://
|
||||
- go get -u github.com/golang/lint/golint
|
||||
- go get -u github.com/Masterminds/glide
|
||||
- make install.tools
|
||||
- mkdir -p $GOPATH/src/github.com/vbatts && ln -sf $(pwd) $GOPATH/src/github.com/vbatts/go-mtree
|
||||
|
||||
install: true
|
||||
|
|
4
Makefile
4
Makefile
|
@ -62,6 +62,10 @@ build: $(BUILD)
|
|||
$(BUILD): $(SOURCE_FILES)
|
||||
go build -o $(BUILD) $(BUILDPATH)
|
||||
|
||||
install.tools:
|
||||
go get -u -v github.com/Masterminds/glide
|
||||
go get -u -v golang.org/x/lint/golint
|
||||
|
||||
./bin:
|
||||
mkdir -p $@
|
||||
|
||||
|
|
Loading…
Reference in a new issue