chore(deb): use just for vendoring

This commit is contained in:
Michael Aaron Murphy 2024-02-29 01:07:33 +01:00
parent b39092f146
commit d02a9f2f67
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
2 changed files with 2 additions and 10 deletions

View file

@ -27,13 +27,9 @@ git = "https://github.com/smithay/client-toolkit/"
package = "smithay-client-toolkit"
rev = "2e9bf9f"
[profile.dev]
debug = true
lto = false
opt-level = 3
[profile.release]
opt-level = 3
lto = "thin"
# For development and testing purposes
#[patch.'https://github.com/pop-os/libcosmic']

6
debian/rules vendored
View file

@ -8,11 +8,7 @@ export VENDOR ?= 1
override_dh_auto_clean:
if ! ischroot && test "${VENDOR}" = "1"; then \
mkdir -p .cargo; \
cargo vendor | head -n -1 > .cargo/config; \
echo 'directory = "vendor"' >> .cargo/config; \
tar pcf vendor.tar vendor; \
rm -rf vendor; \
just vendor; \
fi
override_dh_auto_build: