fix: set up git submodule when building the deb
This commit is contained in:
parent
023d8ad3a0
commit
855784cfb5
1 changed files with 2 additions and 0 deletions
2
debian/rules
vendored
2
debian/rules
vendored
|
|
@ -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; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue