fix: set up git submodule when building the deb

This commit is contained in:
Ashley Wulber 2023-09-14 12:18:39 -04:00
parent 023d8ad3a0
commit 855784cfb5
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820

2
debian/rules vendored
View file

@ -8,6 +8,8 @@ export VENDOR ?= 1
override_dh_auto_clean:
if ! ischroot && test "${VENDOR}" = "1"; then \
git submodule deinit -f .; \
git submodule update --init --recursive; \
rm -rf .cargo vendor vendor.tar; \
mkdir -p .cargo; \
cargo vendor --sync examples/design-demo/Cargo.toml | head -n -1 > .cargo/config; \