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

testing/prometheus-wireguard-exporter: run cargo with --locked

parent c87c05bc
No related branches found
No related tags found
No related merge requests found
# Maintainer: # Maintainer:
pkgname=prometheus-wireguard-exporter pkgname=prometheus-wireguard-exporter
pkgver=3.2.1 pkgver=3.2.1
pkgrel=2 pkgrel=3
pkgdesc="A Prometheus exporter for WireGuard, written in Rust" pkgdesc="A Prometheus exporter for WireGuard, written in Rust"
url="https://github.com/MindFlavor/prometheus_wireguard_exporter" url="https://github.com/MindFlavor/prometheus_wireguard_exporter"
arch="all !s390x !ppc64le !mips !mips64 !riscv64" #Crypto is broken (https://github.com/briansmith/ring/issues/389) arch="all !s390x !ppc64le !mips !mips64 !riscv64" #Crypto is broken (https://github.com/briansmith/ring/issues/389)
...@@ -16,15 +16,15 @@ options="net" ...@@ -16,15 +16,15 @@ options="net"
builddir="$srcdir"/prometheus_wireguard_exporter-"$pkgver" builddir="$srcdir"/prometheus_wireguard_exporter-"$pkgver"
build() { build() {
cargo build --release cargo build --release --locked
} }
check() { check() {
cargo test --release cargo test --release --locked
} }
package() { package() {
cargo install --path . --root="$pkgdir"/usr cargo install --locked --path . --root="$pkgdir"/usr
rm -f "$pkgdir"/usr/.crates2.json rm -f "$pkgdir"/usr/.crates2.json
rm -f "$pkgdir"/usr/.crates.toml rm -f "$pkgdir"/usr/.crates.toml
......
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