diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -7,7 +7,7 @@ certs: build-client: go get ./... - go build -o obfsvpn-client ./client + go build -o obfsvpn-client ./cmd/client/ run-client: ./obfsvpn-client -c ${OBFS4_CERT} @@ -32,3 +32,10 @@ go-vet: go-sec: gosec ./... + +GOMOBILE = $(shell go env GOPATH)/bin/gomobile + +build-android: + go get -u golang.org/x/mobile/cmd/gomobile + $(GOMOBILE) init + $(GOMOBILE) bind -x -target android -o mobile/android/obfsvpn.aar ./client/ |