mirror of https://github.com/fatedier/frp
parent
740691b080
commit
2d30a6e8a7
@ -1,13 +1,12 @@
|
|||||||
export PATH := $(GOPATH)/bin:$(PATH)
|
export PATH := $(GOPATH)/bin:$(PATH)
|
||||||
export OLDGOPATH := $(GOPATH)
|
export GO15VENDOREXPERIMENT := 1
|
||||||
export GOPATH := $(shell pwd)/Godeps/_workspace:$(GOPATH)
|
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
build: gox app
|
build: gox app
|
||||||
|
|
||||||
gox:
|
gox:
|
||||||
GOPATH=$(OLDGOPATH) go get github.com/mitchellh/gox
|
go get github.com/mitchellh/gox
|
||||||
|
|
||||||
app:
|
app:
|
||||||
gox -osarch "darwin/386 darwin/amd64 linux/386 linux/amd64 linux/arm windows/386 windows/amd64" ./src/...
|
gox -osarch "darwin/386 darwin/amd64 linux/386 linux/amd64 linux/arm windows/386 windows/amd64" ./src/...
|
||||||
|
Loading…
Reference in new issue