makefile: use explicit paths to binary dependencies in $GOPATH/bin
This commit is contained in:
parent
0679ad31a7
commit
bd59534bac
4
Makefile
4
Makefile
@ -17,7 +17,7 @@ deps:
|
||||
npm i
|
||||
go get -u github.com/jteeuwen/go-bindata/...
|
||||
go get -u github.com/golang/dep/cmd/dep
|
||||
dep ensure
|
||||
$(GOPATH)/bin/dep ensure
|
||||
|
||||
clean:
|
||||
rm -f ./$(BINNAME)
|
||||
@ -39,7 +39,7 @@ bindata.go: client client/*
|
||||
html-minifier --collapse-whitespace -o clientpack/index.min.htm clientpack/index.htm
|
||||
mv clientpack/index.min.htm clientpack/index.htm
|
||||
rm clientpack/bundle.min.js
|
||||
go-bindata -nomemcopy -nometadata -prefix clientpack clientpack
|
||||
$(GOPATH)/bin/go-bindata -nomemcopy -nometadata -prefix clientpack clientpack
|
||||
|
||||
$(BINNAME).exe: bindata.go *.go
|
||||
GOARCH=386 GOOS=windows go build $(GOFLAGS) -o $(BINNAME).exe
|
||||
|
Loading…
Reference in New Issue
Block a user