From 9c77a3a520b6476324ad61bcbdbc9032278a1649 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 7 Jan 2024 18:36:00 +0200 Subject: build: allow building under Ambient I'm about to start building a Subplot .deb under my new CI system, Ambient. Ambient runs builds without network access, so do "cargo install" with --offline. My Ambient setup runs ./check (also with --offline) as a separate step, so running it a second time in debian/rules seems wasteful, so disable that. Signed-off-by: Lars Wirzenius Sponsored-by: author --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/rules b/debian/rules index 7360a53..ec7656c 100755 --- a/debian/rules +++ b/debian/rules @@ -7,9 +7,9 @@ override_dh_auto_build: true override_dh_auto_install: - cargo install --path=. --root=debian/subplot + cargo install --path=. --root=debian/subplot --offline rm -f debian/subplot/.crates.toml rm -f debian/subplot/.crates2.json override_dh_auto_test: - ./check + echo disabled: ./check -- cgit v1.2.1