Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Commit

Permalink
chore: update build scripts for pearl-diver-react-native (#502)
Browse files Browse the repository at this point in the history
This commit updates "branch" from develop to master. Also, updated --copt flag.
  • Loading branch information
Umair Sarfraz authored Jun 18, 2020
1 parent 629019a commit 268aa42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/pearl-diver-react-native/scripts/build-android.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

out=bazel-bin/mobile/android
branch=develop
branch=master

if [ ! -d iota_common ]; then
git clone https://github.com/iotaledger/iota_common && cd iota_common && git submodule update --init --recursive
Expand Down
4 changes: 2 additions & 2 deletions packages/pearl-diver-react-native/scripts/build-ios.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

out=bazel-bin/mobile/ios
branch=develop
branch=master

if [ ! -d iota_common ]; then
git clone https://github.com/iotaledger/iota_common && cd iota_common && git submodule update --init --recursive
Expand All @@ -18,5 +18,5 @@ fi
fetched=$?

if [ $fetched ]; then
bazel build --ios_multi_cpus='i386,x86_64,armv7,arm64' --copt=-fembed-bitcode --copt=-Ofast //mobile/ios:ios_bindings && echo A | unzip $out/ios_bindings.zip -d $out/ios_bindings
bazel build --ios_multi_cpus='i386,x86_64,armv7,arm64' --copt=-fembed-bitcode --copt=-O3 //mobile/ios:ios_bindings && echo A | unzip $out/ios_bindings.zip -d $out/ios_bindings
fi

0 comments on commit 268aa42

Please sign in to comment.