1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2024-12-22 05:46:30 +00:00

Make: install tools target

This commit is contained in:
Vincent Batts 2018-08-13 23:03:28 -04:00
parent f34a2e0d2b
commit 2f374a383e
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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 $@