2024-05-15 22:51:21 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-05-21 21:40:10 +00:00
|
|
|
set -x -e
|
2024-05-15 22:51:21 +00:00
|
|
|
|
2024-05-15 23:13:50 +00:00
|
|
|
# todo: revisit following at some point
|
2024-05-15 22:51:21 +00:00
|
|
|
|
|
|
|
# libepiccash requires old rust
|
|
|
|
source ../rust_version.sh
|
|
|
|
set_rust_to_1671
|
|
|
|
|
|
|
|
# for arm
|
|
|
|
# flutter-elinux clean
|
|
|
|
# flutter-elinux pub get
|
|
|
|
# flutter-elinux build linux --dart-define="IS_ARM=true"
|
|
|
|
mkdir -p build
|
|
|
|
./build_secure_storage_deps.sh &
|
2024-06-03 19:35:08 +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_all.sh )
|
2024-05-15 22:51:21 +00:00
|
|
|
set_rust_to_1720
|
2024-06-03 19:35:08 +00:00
|
|
|
(cd ../../crypto_plugins/frostdart/scripts/linux && ./build_all.sh )
|
2024-05-15 22:51:21 +00:00
|
|
|
|
|
|
|
./build_secp256k1.sh
|
|
|
|
|
|
|
|
wait
|
|
|
|
echo "Done building"
|