Skip to content
Snippets Groups Projects
Verified Commit 2304c0d1 authored by Balló György's avatar Balló György :flag_hu:
Browse files

Download crates in prepare()

parent 966ba97a
No related branches found
Tags 45.0-1
No related merge requests found
......@@ -44,6 +44,9 @@ export CARGO_PROFILE_RELEASE_DEBUG=2
prepare() {
cd $pkgname
export CARGO_HOME="$srcdir/build/cargo-home"
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}
build() {
......@@ -52,7 +55,7 @@ build() {
}
check() {
meson test -C build --print-errorlogs
meson test -C build --print-errorlogs --no-rebuild
}
package() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment