-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
24 lines (16 loc) · 582 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Support go1.5 vendoring (let us avoid messing with GOPATH or using godep)
export GO15VENDOREXPERIMENT = 1
default: build
bin/docker-machine-driver-vscale: fetch
go build -i -o ./bin/docker-machine-driver-vscale ./bin/
test: fetch
go test ./...
fetch:
go get -t -v ./...
build: clean bin/docker-machine-driver-vscale
clean:
$(RM) -rf ./bin/docker*
install: bin/docker-machine-driver-vscale
cp -f ./bin/docker-machine-driver-vscale $(GOPATH)/bin/ && \
chmod +x $(GOPATH)/bin/docker-machine-driver-vscale
.PHONY: clean fetch test build bin/docker-machine-driver-vscale