Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Commit

Permalink
in one place
Browse files Browse the repository at this point in the history
  • Loading branch information
apisit committed Feb 20, 2018
0 parents commit 47b51fc
Show file tree
Hide file tree
Showing 22 changed files with 2,828 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
output/
7 changes: 7 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#Android NDK is required. https://developer.android.com/ndk/guides/index.html
#to build for Android you need to run the command below
#gomobile init -ndk ~/Library/Android/sdk/ndk-bundle/
#if you are using go 1.9.4 and ran into the issue related to #cgo CFLAGS: -fmodules
#here is the workaround: export CGO_CFLAGS_ALLOW='-fmodules|-fblocks'
gomobile bind -target=ios -o=output/ios/neoutils.framework github.com/o3labs/neo-utils/neoutils
ANDROID_HOME=/Users/apisit/Library/Android/sdk gomobile bind -target=android -o=output/android/neoutils.aar github.com/o3labs/neo-utils/neoutils
Loading

0 comments on commit 47b51fc

Please sign in to comment.