mirror of
https://gitlab.gnome.org/World/Authenticator.git
synced 2025-03-04 08:44:40 +01:00
11 lines
238 B
Bash
11 lines
238 B
Bash
![]() |
#!/bin/sh
|
||
|
export DIST="$1"
|
||
|
export SOURCE_ROOT="$2"
|
||
|
|
||
|
cd "$SOURCE_ROOT"
|
||
|
mkdir "$DIST"/.cargo
|
||
|
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > $DIST/.cargo/config
|
||
|
# Move vendor into dist tarball directory
|
||
|
mv vendor "$DIST"
|
||
|
|