diff --git a/yggdrasil/Makefile b/yggdrasil/Makefile new file mode 100644 index 0000000..05fef2a --- /dev/null +++ b/yggdrasil/Makefile @@ -0,0 +1,10 @@ +GOPATH=$(shell go env GOPATH) + +all: + -go get -u github.com/yggdrasil-network/yggdrasil-go; + -cd $(GOPATH)/src/github.com/yggdrasil-network/yggdrasil-go; \ + go get -v -d ./...; \ + go get -u github.com/yggdrasil-network/yggdrasil-extras; \ + ANDROID=true ./build; + mv $(GOPATH)/src/github.com/yggdrasil-network/yggdrasil-go/yggdrasil.aar yggdrasil.aar; + mv $(GOPATH)/src/github.com/yggdrasil-network/yggdrasil-go/yggdrasil-sources.jar yggdrasil-sources.jar;