chore: Add Makefile for building yggdrasil aar

This commit is contained in:
ChronosX88 2019-08-23 11:37:32 +04:00
parent 7931bb4c16
commit a6dffbd9e4
Signed by: ChronosXYZ
GPG Key ID: 085A69A82C8C511A

10
yggdrasil/Makefile Normal file
View File

@ -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;