Add support for zcash testnet
This commit is contained in:
parent
d417aaf051
commit
8cde643570
|
@ -122,9 +122,7 @@ args = [
|
||||||
"${ANDROID_PLATFORM_VERSION}",
|
"${ANDROID_PLATFORM_VERSION}",
|
||||||
"--target",
|
"--target",
|
||||||
"${ANDROID_BUILD_TARGET}",
|
"${ANDROID_BUILD_TARGET}",
|
||||||
"build",
|
"build"
|
||||||
"--features",
|
|
||||||
"${FEATURES}",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[tasks.android-build-release]
|
[tasks.android-build-release]
|
||||||
|
@ -138,9 +136,7 @@ args = [
|
||||||
"--target",
|
"--target",
|
||||||
"${ANDROID_BUILD_TARGET}",
|
"${ANDROID_BUILD_TARGET}",
|
||||||
"build",
|
"build",
|
||||||
"--release",
|
"--release"
|
||||||
"--features",
|
|
||||||
"${FEATURES}",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[tasks.android-aarch64]
|
[tasks.android-aarch64]
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
4
build.sh
4
build.sh
|
@ -1,4 +1,2 @@
|
||||||
export FEATURE=$1
|
cargo make --profile release
|
||||||
|
|
||||||
cargo make --env COIN=$FEATURE --profile release
|
|
||||||
flutter build apk --split-per-abi
|
flutter build apk --split-per-abi
|
||||||
|
|
|
@ -6,15 +6,21 @@ ycash)
|
||||||
export APP_NAME=ywallet
|
export APP_NAME=ywallet
|
||||||
export FEATURE=ycash
|
export FEATURE=ycash
|
||||||
;;
|
;;
|
||||||
|
zcashtest)
|
||||||
|
export APP_TITLE=ZWalletTest
|
||||||
|
export APP_NAME=zwallettest
|
||||||
|
export FEATURE=zcashtest
|
||||||
|
;;
|
||||||
zcash)
|
zcash)
|
||||||
export APP_TITLE=ZWallet
|
export APP_TITLE=ZWallet
|
||||||
export APP_NAME=zwallet
|
export APP_NAME=zwallet
|
||||||
export FEATURE=
|
export FEATURE=zcash
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
cp assets/$COIN.png assets/icon.png
|
cp assets/$COIN.png assets/icon.png
|
||||||
cp lib/coin/$COIN.dart lib/coin/coindef.dart
|
cp lib/coin/$COIN.dart lib/coin/coindef.dart
|
||||||
|
cp native/zcash-sync/src/coindef/$COIN.rs native/zcash-sync/src/coin.rs
|
||||||
|
|
||||||
mo pubspec.yaml.tpl > pubspec.yaml
|
mo pubspec.yaml.tpl > pubspec.yaml
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,3 @@ branch = "warp-sync"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cbindgen = "0.19.0"
|
cbindgen = "0.19.0"
|
||||||
|
|
||||||
[features]
|
|
||||||
ycash = ["sync/ycash"]
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 025dd8c9a94eb8951dbd3647b17d55f155635d76
|
Subproject commit d78622d6bf6c92f7ba22f828ee558f04ddbb7d24
|
Loading…
Reference in New Issue