restructure the rest of the files

This commit is contained in:
2022-08-07 13:12:34 +02:00
parent e7f55a0375
commit 171c4dee12
20 changed files with 359 additions and 319 deletions

10
build-aux/dist-vendor.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
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"