From 21b3bf613c3a57f9f72f8754599bad83c8f6e23c Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" Date: Mon, 26 Jun 2023 12:32:38 +0300 Subject: [PATCH] initial push --- debian/rules | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/debian/rules b/debian/rules index 186279c..ffe56bd 100644 --- a/debian/rules +++ b/debian/rules @@ -1,14 +1,6 @@ #!/usr/bin/make -f - -export DEB_BUILD_MAINT_OPTIONS=hardening=+all -export PYBUILD_NAME=maturin - -build3vers := $(shell py3versions -sv) - %: - dh $@ --with python3 --buildsystem pybuild + dh $@ -override_dh_autoreconf: - echo '[net]' >> Cargo.toml - echo 'git-fetch-with-cli = true' >> Cargo.toml - cargo fetch --locked +override_dh_build: + cargo build --manifest-path Cargo.toml --message-format=json-render-diagnostics --release -v --no-default-features --locked