aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2021-12-06 23:07:29 +0100
committerJakub Jirutka <jakub@jirutka.cz>2021-12-06 23:14:44 +0100
commit87fe8d1f47719f52333a81df6c7f395f2fdcb9eb (patch)
tree5db346c4afa59dcdffb55f969da9ada7cc91cd5e
parente621907af2b2760ca178e0f5ac63fe402eac34f5 (diff)
downloadaports-87fe8d1f47719f52333a81df6c7f395f2fdcb9eb.tar.gz
aports-87fe8d1f47719f52333a81df6c7f395f2fdcb9eb.tar.bz2
aports-87fe8d1f47719f52333a81df6c7f395f2fdcb9eb.tar.xz
community/dust: fetch crates in prepare phase
-rw-r--r--community/dust/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/community/dust/APKBUILD b/community/dust/APKBUILD
index 3bf373a523..63813b01c6 100644
--- a/community/dust/APKBUILD
+++ b/community/dust/APKBUILD
@@ -27,18 +27,20 @@ prepare() {
opt-level = "z"
panic = "abort"
EOF
+
+ cargo fetch --locked
}
build() {
- cargo build --release --locked
+ cargo build --release --frozen
}
check() {
- cargo test --release --locked
+ cargo test --frozen
}
package() {
- cargo install --locked --path . --root="$pkgdir/usr"
+ cargo install --locked --offline --path . --root="$pkgdir/usr"
rm "$pkgdir"/usr/.crates*
}