1
1
#! /bin/bash
2
2
set -e
3
3
4
- TARGET_ENGINE=${TARGET_ENGINE:= v8} # default to v8 for compat
4
+ TARGET_ENGINE=${TARGET_ENGINE:= some}
5
5
6
6
# See build_nativescript.sh for all supported flags. This parent script is only
7
- # interested in --no-engine.
7
+ # interested in intercepting --no-engine.
8
8
for arg in $@ ; do
9
9
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 ;;
14
11
--no-engine) TARGET_ENGINE=none ;;
15
12
* ) ;;
16
13
esac
@@ -23,9 +20,7 @@ rm -rf ./dist
23
20
# ./update_version.sh
24
21
# fi
25
22
./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
29
24
30
25
if [[ " $TARGET_ENGINE " == " none" ]]; then
31
26
# If you're building *with* --no-engine, you're trying to make an npm release
@@ -35,5 +30,7 @@ if [[ "$TARGET_ENGINE" == "none" ]]; then
35
30
else
36
31
# If you're building *without* --no-engine, you're trying to make an npm
37
32
# release of the root-level workspace, @nativescript/ios.
33
+ ./build_tklivesync.sh --no-vision
34
+ ./prepare_dSYMs.sh
38
35
./build_npm_ios.sh
39
36
fi
0 commit comments