Skip to content
Snippets Groups Projects
Commit b5c5f41e authored by Jakub Jirutka's avatar Jakub Jirutka :flag_ua:
Browse files

testing/wldash: fetch crates in prepare phase, disable check

parent 235bef8d
No related branches found
No related tags found
No related merge requests found
......@@ -23,17 +23,24 @@ source="https://github.com/kennylevinsen/wldash/archive/$_gitrev/$pkgname-$_gitr
minimize-size.patch
"
builddir="$srcdir/$pkgname-$_gitrev"
options="!check" # there are currently no tests
prepare() {
default_prepare
cargo fetch --locked
}
build() {
cargo build --release --locked
cargo build --release --frozen
}
check() {
cargo test --locked
cargo test --frozen
}
package() {
cargo install --locked --path . --root="$pkgdir/usr"
cargo install --locked --offline --path . --root="$pkgdir/usr"
rm "$pkgdir"/usr/.crates*
install -D -m644 config.yaml -t "$pkgdir"/usr/share/doc/$pkgname/
......
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