mirror of
https://gitlab.gnome.org/World/Authenticator.git
synced 2025-03-04 00:34:40 +01:00
dist-vendor: Remove unused dependencies
This commit is contained in:
parent
78b398972e
commit
c7d923d839
1 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,10 @@ export SOURCE_ROOT="$2"
|
|||
|
||||
cd "$SOURCE_ROOT"
|
||||
mkdir "$DIST"/.cargo
|
||||
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > $DIST/.cargo/config
|
||||
# cargo-vendor-filterer can be found at https://github.com/coreos/cargo-vendor-filterer
|
||||
# It is also part of the Rust SDK extension.
|
||||
cargo vendor-filterer --platform=x86_64-unknown-linux-gnu --platform=aarch64-unknown-linux-gnu > "$DIST"/.cargo/config
|
||||
rm -f vendor/gettext-sys/gettext-*.tar.*
|
||||
# Move vendor into dist tarball directory
|
||||
mv vendor "$DIST"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue