Skip to content

Commit a62b580

Browse files
committed
clean up scripts
1 parent 72fa218 commit a62b580

19 files changed

+13
-136
lines changed

pubspec.lock

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -352,21 +352,19 @@ packages:
352352
coinlib:
353353
dependency: "direct overridden"
354354
description:
355-
path: coinlib
356-
ref: "0acacfd17eacf72135c693a7b862bd9b7cc56739"
357-
resolved-ref: "0acacfd17eacf72135c693a7b862bd9b7cc56739"
358-
url: "https://github.com/julian-CStack/coinlib.git"
359-
source: git
360-
version: "2.2.0"
355+
name: coinlib
356+
sha256: f99c090ca300b6c9b5414dc100f7f36f49a5a2af31d477b3ce04a605c5f1103c
357+
url: "https://pub.dev"
358+
source: hosted
359+
version: "3.1.0"
361360
coinlib_flutter:
362361
dependency: "direct main"
363362
description:
364-
path: coinlib_flutter
365-
ref: "0acacfd17eacf72135c693a7b862bd9b7cc56739"
366-
resolved-ref: "0acacfd17eacf72135c693a7b862bd9b7cc56739"
367-
url: "https://github.com/julian-CStack/coinlib.git"
368-
source: git
369-
version: "2.2.0"
363+
name: coinlib_flutter
364+
sha256: "185c622986d12d2ccda98f151ce047360464dd7a6cbb6877781a9816d14bb8c4"
365+
url: "https://pub.dev"
366+
source: hosted
367+
version: "3.0.0"
370368
collection:
371369
dependency: transitive
372370
description:
@@ -832,8 +830,8 @@ packages:
832830
dependency: "direct main"
833831
description:
834832
path: "."
835-
ref: ca0c72cecc40fc0bfbafc0d26af675d973ab516b
836-
resolved-ref: ca0c72cecc40fc0bfbafc0d26af675d973ab516b
833+
ref: "33e1034911b842c57bdf6ddaa825cbf635a0c9db"
834+
resolved-ref: "33e1034911b842c57bdf6ddaa825cbf635a0c9db"
837835
url: "https://github.com/cypherstack/flutter_libsparkmobile.git"
838836
source: git
839837
version: "0.0.2"
@@ -1247,7 +1245,7 @@ packages:
12471245
path: "crypto_plugins/flutter_liblelantus"
12481246
relative: true
12491247
source: path
1250-
version: "0.0.2"
1248+
version: "0.0.3"
12511249
lints:
12521250
dependency: transitive
12531251
description:

scripts/android/build_all.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,13 @@
22

33
set -x -e
44

5-
# libepiccash requires old rust
6-
source ../rust_version.sh
7-
set_rust_to_181
8-
95
mkdir -p build
106
. ./config.sh
11-
./install_ndk.sh
127

138
PLUGINS_DIR=../../crypto_plugins
149

1510
(cd "${PLUGINS_DIR}"/flutter_liblelantus/scripts/android && ./build_all.sh )
1611
(cd "${PLUGINS_DIR}"/flutter_libepiccash/scripts/android && ./build_all.sh )
17-
set_rust_to_1720
1812
(cd "${PLUGINS_DIR}"/frostdart/scripts/android && ./build_all.sh )
1913

2014
wait

scripts/android/build_all_campfire.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@
22

33
set -x -e
44

5-
source ../rust_version.sh
6-
set_rust_to_181
7-
85
mkdir -p build
96
. ./config.sh
10-
./install_ndk.sh
117

128
PLUGINS_DIR=../../crypto_plugins
139

1410
(cd "${PLUGINS_DIR}"/flutter_liblelantus/scripts/android && ./build_all.sh )
1511
(cd "${PLUGINS_DIR}"/flutter_libepiccash/scripts/android && ./build_all.sh )
16-
set_rust_to_1720
1712
(cd "${PLUGINS_DIR}"/frostdart/scripts/android && ./build_all.sh )
1813

1914
wait

scripts/android/build_all_duo.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,13 @@ set -x -e
44

55
# todo: revisit following at some point
66

7-
source ../rust_version.sh
8-
set_rust_to_181
9-
107
mkdir -p build
118
. ./config.sh
12-
./install_ndk.sh
139

1410
PLUGINS_DIR=../../crypto_plugins
1511

1612
(cd "${PLUGINS_DIR}"/flutter_liblelantus/scripts/android && ./build_all.sh )
1713
(cd "${PLUGINS_DIR}"/flutter_libepiccash/scripts/android && ./build_all.sh )
18-
set_rust_to_1720
1914
(cd "${PLUGINS_DIR}"/frostdart/scripts/android && ./build_all.sh )
2015

2116
wait

scripts/android/config.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/sh
22

33
export WORKDIR="$(pwd)/"build
4-
export ANDROID_NDK_ZIP=${WORKDIR}/android-ndk-r20b.zip
5-
export TOOLCHAIN_DIR="${WORKDIR}/toolchain"
64
# Change this Value to a lower number if you run out of memory while compiling
75
export OVERRIDE_THREADS="$(nproc)"

scripts/android/install_ndk.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.

scripts/ios/build_all.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
set -x -e
44

5-
source ../rust_version.sh
6-
set_rust_to_181
7-
85
# ensure ios rust triples are there
96
rustup target add aarch64-apple-ios
107
rustup target add x86_64-apple-ios
@@ -15,7 +12,6 @@ rustup target add x86_64-apple-ios
1512

1613
(cd ../../crypto_plugins/flutter_liblelantus/scripts/ios && ./build_all.sh )
1714
(cd ../../crypto_plugins/flutter_libepiccash/scripts/ios && ./build_all.sh )
18-
set_rust_to_1720
1915
(cd ../../crypto_plugins/frostdart/scripts/ios && ./build_all.sh )
2016

2117
wait

scripts/ios/build_all_campfire.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
set -x -e
44

5-
source ../rust_version.sh
6-
set_rust_to_181
7-
85
# ensure ios rust triples are there
96
rustup target add aarch64-apple-ios
107
rustup target add x86_64-apple-ios
@@ -15,7 +12,6 @@ rustup target add x86_64-apple-ios
1512

1613
(cd ../../crypto_plugins/flutter_liblelantus/scripts/ios && ./build_all.sh )
1714
(cd ../../crypto_plugins/flutter_libepiccash/scripts/ios && ./build_all.sh )
18-
set_rust_to_1720
1915
(cd ../../crypto_plugins/frostdart/scripts/ios && ./build_all.sh )
2016

2117
wait

scripts/ios/build_all_duo.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ set -x -e
44

55
# todo: revisit following at some point
66

7-
source ../rust_version.sh
8-
set_rust_to_181
9-
107
# ensure ios rust triples are there
118
rustup target add aarch64-apple-ios
129
rustup target add x86_64-apple-ios
@@ -17,7 +14,6 @@ rustup target add x86_64-apple-ios
1714

1815
(cd ../../crypto_plugins/flutter_liblelantus/scripts/ios && ./build_all.sh )
1916
(cd ../../crypto_plugins/flutter_libepiccash/scripts/ios && ./build_all.sh )
20-
set_rust_to_1720
2117
(cd ../../crypto_plugins/frostdart/scripts/ios && ./build_all.sh )
2218

2319
wait

scripts/linux/build_all.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
set -x -e
44

5-
source ../rust_version.sh
6-
set_rust_to_181
7-
85
# for arm
96
# flutter-elinux clean
107
# flutter-elinux pub get
@@ -13,7 +10,6 @@ mkdir -p build
1310
./build_secure_storage_deps.sh
1411
(cd ../../crypto_plugins/flutter_liblelantus/scripts/linux && ./build_all.sh )
1512
(cd ../../crypto_plugins/flutter_libepiccash/scripts/linux && ./build_all.sh )
16-
set_rust_to_1720
1713
(cd ../../crypto_plugins/frostdart/scripts/linux && ./build_all.sh )
1814

1915
./build_secp256k1.sh

0 commit comments

Comments
 (0)