From 74b61f4196277031a21ecf60c5391ffa423de4bd Mon Sep 17 00:00:00 2001 From: Yilun Date: Wed, 19 Aug 2020 20:55:15 -0700 Subject: [PATCH] Add nkn-sdk-go to gomobile build target Signed-off-by: Yilun --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 86daa8f..0886a03 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ all: ios: rm -rf $(BUILD_DIR)/ios Tunnel.framework mkdir -p $(BUILD_DIR)/ios - gomobile bind -target=ios -ldflags "-s -w" github.com/nknorg/nkn-tunnel github.com/nknorg/nkn-tuna-session github.com/nknorg/ncp-go github.com/nknorg/tuna + gomobile bind -target=ios -ldflags "-s -w" github.com/nknorg/nkn-tunnel github.com/nknorg/nkn-tuna-session github.com/nknorg/ncp-go github.com/nknorg/tuna github.com/nknorg/nkn-sdk-go mv Tunnel.framework $(BUILD_DIR)/ios/ ${MAKE} zip BIN_DIR=ios @@ -55,6 +55,6 @@ ios: android: rm -rf $(BUILD_DIR)/android tunnel.aar tunnel-sources.jar mkdir -p $(BUILD_DIR)/android - gomobile bind -target=android -ldflags "-s -w" github.com/nknorg/nkn-tunnel github.com/nknorg/nkn-tuna-session github.com/nknorg/ncp-go github.com/nknorg/tuna + gomobile bind -target=android -ldflags "-s -w" github.com/nknorg/nkn-tunnel github.com/nknorg/nkn-tuna-session github.com/nknorg/ncp-go github.com/nknorg/tuna github.com/nknorg/nkn-sdk-go mv tunnel.aar tunnel-sources.jar $(BUILD_DIR)/android/ ${MAKE} zip BIN_DIR=android