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
|
npm i
|
||||||
go get -u github.com/jteeuwen/go-bindata/...
|
go get -u github.com/jteeuwen/go-bindata/...
|
||||||
go get -u github.com/golang/dep/cmd/dep
|
go get -u github.com/golang/dep/cmd/dep
|
||||||
dep ensure
|
$(GOPATH)/bin/dep ensure
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f ./$(BINNAME)
|
rm -f ./$(BINNAME)
|
||||||
@ -39,7 +39,7 @@ bindata.go: client client/*
|
|||||||
html-minifier --collapse-whitespace -o clientpack/index.min.htm clientpack/index.htm
|
html-minifier --collapse-whitespace -o clientpack/index.min.htm clientpack/index.htm
|
||||||
mv clientpack/index.min.htm clientpack/index.htm
|
mv clientpack/index.min.htm clientpack/index.htm
|
||||||
rm clientpack/bundle.min.js
|
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
|
$(BINNAME).exe: bindata.go *.go
|
||||||
GOARCH=386 GOOS=windows go build $(GOFLAGS) -o $(BINNAME).exe
|
GOARCH=386 GOOS=windows go build $(GOFLAGS) -o $(BINNAME).exe
|
||||||
|
Loading…
Reference in New Issue
Block a user