- GOPATH=$(CURDIR)/deps:$(CURDIR)
- DIST=./DIST
- all: deps
- @GOPATH=$(GOPATH) go generate gdrivemount/cmd/gdrivemount
- GOPATH=$(GOPATH) go build -o DIST/gdrivemount gdrivemount/cmd/gdrivemount
- deps:
- GOPATH=$(GOPATH) go get -v ./src/gdrivemount/cmd/gdrivemount
- test: # non golang test
- cd test; ../DIST/gdrivemount mount
- clean:
- rm -rf DIST deps pkg bin
|