contrib: add deps-bundle.sh

This commit is contained in:
Richard Patel 2023-06-10 16:44:39 +00:00
parent 2e90ea20b0
commit c452e2a4f7
2 changed files with 15 additions and 0 deletions

1
.gitignore vendored
View File

@ -21,6 +21,7 @@ OPTIONS-*
# deps.sh
opt/
deps-bundle.tar.zst
# Editor junk files
# Please just use a global gitignore conf, I'm tired of this

14
contrib/deps-bundle.sh Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -e
# Packs a bundle of dependency files.
cd -- "$( dirname -- "${BASH_SOURCE[0]}" )"/..
rm -f deps-bundle.tar.zst
tar -Izstd -cf deps-bundle.tar.zst \
./opt/{include,lib,lib64}
echo "[+] Created deps-bundle.tar.zst"