commit ee095f85492171e3fd4a567f1615f45d370f855a
parent e125d40e6322f1323fce37dac9fd8178edb4f146
Author: oblique <psyberbits@gmail.com>
Date: Wed, 5 Jun 2013 01:06:20 +0300
fix 'go get' error
I was getting:
`go install: no install location for directory path/godir outside GOPATH'
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -3,8 +3,8 @@ GOPATH ?= $(PWD)/godir
all: subsync
subsync: subsync.go
- GOPATH="$(GOPATH)" go get .
- GOPATH="$(GOPATH)" go build subsync.go
+ GOPATH="$(GOPATH)" go get -d .
+ GOPATH="$(GOPATH)" go build -o $@ subsync.go
clean:
rm -rf subsync godir