mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +00:00
rust version change for epiccash building
This commit is contained in:
parent
eec0d2d7df
commit
f98d2e405b
6 changed files with 68 additions and 2 deletions
|
@ -1,5 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# libepiccash requires old rust
|
||||
source ../rust_version.sh
|
||||
set_rust_to_1680
|
||||
|
||||
mkdir build
|
||||
. ./config.sh
|
||||
./install_ndk.sh
|
||||
|
@ -10,3 +16,7 @@ mkdir build
|
|||
|
||||
wait
|
||||
echo "Done building"
|
||||
|
||||
# set rust (back) to a more recent stable release to allow stack wallet to build tor
|
||||
set_rust_to_1720
|
||||
|
||||
|
|
|
@ -1,8 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# libepiccash requires old rust
|
||||
source ../rust_version.sh
|
||||
set_rust_to_1680
|
||||
|
||||
(cd ../../crypto_plugins/flutter_liblelantus/scripts/ios && ./build_all.sh ) &
|
||||
(cd ../../crypto_plugins/flutter_libepiccash/scripts/ios && ./build_all.sh ) &
|
||||
(cd ../../crypto_plugins/flutter_libmonero/scripts/ios/ && ./build_all.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
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# libepiccash requires old rust
|
||||
source ../rust_version.sh
|
||||
set_rust_to_1680
|
||||
|
||||
# for arm
|
||||
# flutter-elinux clean
|
||||
# flutter-elinux pub get
|
||||
|
@ -12,3 +18,7 @@ mkdir -p build
|
|||
|
||||
wait
|
||||
echo "Done building"
|
||||
|
||||
# set rust (back) to a more recent stable release to allow stack wallet to build tor
|
||||
set_rust_to_1720
|
||||
|
||||
|
|
|
@ -1,8 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# libepiccash requires old rust
|
||||
source ../rust_version.sh
|
||||
set_rust_to_1680
|
||||
|
||||
(cd ../../crypto_plugins/flutter_liblelantus/scripts/macos && ./build_all.sh ) &
|
||||
(cd ../../crypto_plugins/flutter_libepiccash/scripts/macos && ./build_all.sh ) &
|
||||
(cd ../../crypto_plugins/flutter_libmonero/scripts/macos/ && ./build_all.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
|
||||
|
|
19
scripts/rust_version.sh
Executable file
19
scripts/rust_version.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
set_rust_to_1680() {
|
||||
if rustup toolchain list | grep -q "1.68.0"; then
|
||||
rustup default 1.68.0
|
||||
else
|
||||
echo "Rust version 1.68.0 is not installed. Please install it using 'rustup toolchain install 1.68.0'." >&2
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
set_rust_to_1720() {
|
||||
if rustup toolchain list | grep -q "1.72.0"; then
|
||||
rustup default 1.72.0
|
||||
else
|
||||
echo "Rust version 1.72.0 is not installed. Please install it using 'rustup toolchain install 1.72.0'." >&2
|
||||
exit 1
|
||||
fi
|
||||
}
|
|
@ -1,5 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# libepiccash requires old rust
|
||||
source ../rust_version.sh
|
||||
set_rust_to_1680
|
||||
|
||||
mkdir -p build
|
||||
(cd ../../crypto_plugins/flutter_libepiccash/scripts/windows && ./build_all.sh ) &
|
||||
(cd ../../crypto_plugins/flutter_liblelantus/scripts/windows && ./build_all.sh ) &
|
||||
|
@ -7,3 +13,6 @@ mkdir -p build
|
|||
|
||||
wait
|
||||
echo "Done building"
|
||||
|
||||
# set rust (back) to a more recent stable release to allow stack wallet to build tor
|
||||
set_rust_to_1720
|
||||
|
|
Loading…
Reference in a new issue