File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33set -x -e
44
5+ APP=" ${1:- stack_wallet} "
6+
57mkdir -p build
68. ./config.sh
79
810PLUGINS_DIR=../../crypto_plugins
911
10- (cd " ${PLUGINS_DIR} " /flutter_libepiccash/scripts/android && ./download.sh)
11-
12- (cd " ${PLUGINS_DIR} " /flutter_libmwc/scripts/android && ./download.sh)
12+ if [[ " $APP " = " stack_wallet" ]]; then
13+ (cd " ${PLUGINS_DIR} " /flutter_libepiccash/scripts/android && ./download.sh)
14+ (cd " ${PLUGINS_DIR} " /flutter_libmwc/scripts/android && ./download.sh)
15+ fi
1316
14- (cd " ${PLUGINS_DIR} " /frostdart/scripts/android && ./download.sh)
17+ if [[ " $APP " = " stack_wallet" || " $APP " = " stack_duo" ]]; then
18+ (cd " ${PLUGINS_DIR} " /frostdart/scripts/android && ./download.sh)
19+ fi
1520
1621wait
1722echo " Done"
Original file line number Diff line number Diff line change 117117
118118if [ " $BUILD_CRYPTO_PLUGINS " -eq 0 ]; then
119119 if [ " $DOWNLOAD_CRYPTO_PLUGINS " -eq 1 ]; then
120- if [[ " $APP_NAMED_ID " = " stack_wallet" ]]; then
121- ./download_all.sh
122- elif [[ " $APP_NAMED_ID " = " stack_duo" ]]; then
123- ./build_all_duo.sh
124- elif [[ " $APP_NAMED_ID " = " campfire" ]]; then
125- ./build_all_campfire.sh
126- else
127- echo " Invalid app id: ${APP_NAMED_ID} "
128- exit 1
129- fi
120+ ./download_all.sh " $APP_NAMED_ID "
130121 else
131122 if [[ " $APP_NAMED_ID " = " stack_wallet" ]]; then
132123 ./build_all.sh
Original file line number Diff line number Diff line change 22
33set -x -e
44
5+ APP=" ${1:- stack_wallet} "
6+
57mkdir -p build
68
79PLUGINS_DIR=../../crypto_plugins
810
9- (cd " ${PLUGINS_DIR} " /flutter_libepiccash/scripts/ios && ./download.sh)
10-
11- (cd " ${PLUGINS_DIR} " /flutter_libmwc/scripts/ios && ./download.sh)
11+ if [[ " $APP " = " stack_wallet" ]]; then
12+ (cd " ${PLUGINS_DIR} " /flutter_libepiccash/scripts/ios && ./download.sh)
13+ (cd " ${PLUGINS_DIR} " /flutter_libmwc/scripts/ios && ./download.sh)
14+ fi
1215
13- (cd " ${PLUGINS_DIR} " /frostdart/scripts/ios && ./download.sh)
16+ if [[ " $APP " = " stack_wallet" || " $APP " = " stack_duo" ]]; then
17+ (cd " ${PLUGINS_DIR} " /frostdart/scripts/ios && ./download.sh)
18+ fi
1419
1520wait
1621echo " Done"
Original file line number Diff line number Diff line change 22
33set -x -e
44
5+ APP=" ${1:- stack_wallet} "
6+
57mkdir -p build
68./build_secure_storage_deps.sh
79
8- (cd ../../crypto_plugins/flutter_libepiccash/scripts/linux && ./download.sh)
9-
10- (cd ../../crypto_plugins/flutter_libmwc/scripts/linux && ./download.sh)
10+ if [[ " $APP " = " stack_wallet" ]]; then
11+ (cd ../../crypto_plugins/flutter_libepiccash/scripts/linux && ./download.sh)
12+ (cd ../../crypto_plugins/flutter_libmwc/scripts/linux && ./download.sh)
13+ fi
1114
12- (cd ../../crypto_plugins/frostdart/scripts/linux && ./download.sh)
15+ if [[ " $APP " = " stack_wallet" || " $APP " = " stack_duo" ]]; then
16+ (cd ../../crypto_plugins/frostdart/scripts/linux && ./download.sh)
17+ fi
1318
1419./build_secp256k1.sh
1520
Original file line number Diff line number Diff line change 22
33set -x -e
44
5+ APP=" ${1:- stack_wallet} "
6+
57mkdir -p build
68
79PLUGINS_DIR=../../crypto_plugins
810
9- (cd " ${PLUGINS_DIR} " /flutter_libepiccash/scripts/macos && ./download.sh)
10-
11- (cd " ${PLUGINS_DIR} " /flutter_libmwc/scripts/macos && ./download.sh)
11+ if [[ " $APP " = " stack_wallet" ]]; then
12+ (cd " ${PLUGINS_DIR} " /flutter_libepiccash/scripts/macos && ./download.sh)
13+ (cd " ${PLUGINS_DIR} " /flutter_libmwc/scripts/macos && ./download.sh)
14+ fi
1215
13- (cd " ${PLUGINS_DIR} " /frostdart/scripts/macos && ./download.sh)
16+ if [[ " $APP " = " stack_wallet" || " $APP " = " stack_duo" ]]; then
17+ (cd " ${PLUGINS_DIR} " /frostdart/scripts/macos && ./download.sh)
18+ fi
1419
1520wait
1621echo " Done"
Original file line number Diff line number Diff line change 22
33set -x -e
44
5+ APP=" ${1:- stack_wallet} "
6+
57mkdir -p build
68
79PLUGINS_DIR=../../crypto_plugins
810
9- (cd " ${PLUGINS_DIR} " /flutter_libepiccash/scripts/windows && ./download.sh)
10-
11- (cd " ${PLUGINS_DIR} " /flutter_libmwc/scripts/windows && ./download.sh)
11+ if [[ " $APP " = " stack_wallet" ]]; then
12+ (cd " ${PLUGINS_DIR} " /flutter_libepiccash/scripts/windows && ./download.sh)
13+ (cd " ${PLUGINS_DIR} " /flutter_libmwc/scripts/windows && ./download.sh)
14+ fi
1215
13- (cd " ${PLUGINS_DIR} " /frostdart/scripts/windows && ./download.sh)
16+ if [[ " $APP " = " stack_wallet" || " $APP " = " stack_duo" ]]; then
17+ (cd " ${PLUGINS_DIR} " /frostdart/scripts/windows && ./download.sh)
18+ fi
1419
1520wait
1621echo " Done"
You can’t perform that action at this time.
0 commit comments