stack_wallet/scripts/linux/build_all.sh

25 lines
665 B
Bash
Raw Normal View History

2022-08-26 08:11:35 +00:00
#!/bin/bash
set -e
# libepiccash requires old rust
source ../rust_version.sh
set_rust_to_1680
2022-09-01 08:51:06 +00:00
# for arm
# flutter-elinux clean
# flutter-elinux pub get
# flutter-elinux build linux --dart-define="IS_ARM=true"
mkdir -p build
2022-08-31 16:27:46 +00:00
./build_secure_storage_deps.sh &
2022-08-26 08:11:35 +00:00
(cd ../../crypto_plugins/flutter_liblelantus/scripts/linux && ./build_all.sh ) &
(cd ../../crypto_plugins/flutter_libepiccash/scripts/linux && ./build_all.sh ) &
(cd ../../crypto_plugins/flutter_libmonero/scripts/linux && ./build_monero_all.sh && ./build_sharedfile.sh ) &
wait
echo "Done building"
# set rust (back) to a more recent stable release to allow stack wallet to build tor
set_rust_to_1720