Skip to content

Commit 05151e0

Browse files
committed
add build_all_react_native.sh
1 parent a79a4bc commit 05151e0

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

build_all_ios.sh

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
#!/bin/bash
22
set -e
33

4-
TARGET_ENGINE=${TARGET_ENGINE:=v8} # default to v8 for compat
4+
TARGET_ENGINE=${TARGET_ENGINE:=some}
55

66
# See build_nativescript.sh for all supported flags. This parent script is only
7-
# interested in --no-engine.
7+
# interested in intercepting --no-engine.
88
for arg in $@; do
99
case $arg in
10-
--v8) TARGET_ENGINE=v8 ;;
11-
--quickjs) TARGET_ENGINE=quickjs ;;
12-
--jsc) TARGET_ENGINE=jsc ;;
13-
--hermes) TARGET_ENGINE=hermes ;;
10+
--v8|--quickjs|--jsc|--hermes) TARGET_ENGINE=some ;;
1411
--no-engine) TARGET_ENGINE=none ;;
1512
*) ;;
1613
esac
@@ -23,9 +20,7 @@ rm -rf ./dist
2320
# ./update_version.sh
2421
# fi
2522
./build_metadata_generator.sh
26-
./build_nativescript.sh --no-vision $1 $2
27-
./build_tklivesync.sh --no-vision
28-
./prepare_dSYMs.sh
23+
./build_nativescript.sh --no-vision $1 $2 $3 $4 $5 $6 $7 $8 $9
2924

3025
if [[ "$TARGET_ENGINE" == "none" ]]; then
3126
# If you're building *with* --no-engine, you're trying to make an npm release
@@ -35,5 +30,7 @@ if [[ "$TARGET_ENGINE" == "none" ]]; then
3530
else
3631
# If you're building *without* --no-engine, you're trying to make an npm
3732
# release of the root-level workspace, @nativescript/ios.
33+
./build_tklivesync.sh --no-vision
34+
./prepare_dSYMs.sh
3835
./build_npm_ios.sh
3936
fi

build_all_react_native.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
./build_all_ios.sh --no-engine --embed-metadata --macos

0 commit comments

Comments
 (0)