1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 11:47:46 +00:00
astra/scripts/tarball.sh

15 lines
472 B
Bash
Raw Normal View History

#!/bin/sh
# ensure the submodules are up to date
2024-03-22 18:00:32 -04:00
git submodule init &&
git submodule update &&
# begin vendoring cargo dependencies
2024-03-22 18:00:32 -04:00
cd external/libphysis &&
cargo vendor-filterer --platform=x86_64-unknown-linux-gnu ../../cargo-vendored &&
mkdir .cargo &&
cp ../../scripts/config.toml .cargo/config.toml &&
cd ../../ &&
tar --exclude='cmake-build*' --exclude='.idea' --exclude='.clang-format' --exclude='astra-source.tar.gz' --exclude-vcs -zcvf ../astra-source.tar.gz .