1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-05-04 17:07:45 +00:00

Add tarball script

This commit is contained in:
Joshua Goins 2023-10-04 18:12:31 -04:00
parent 1ed9edafdd
commit ff4d5e8456
2 changed files with 14 additions and 0 deletions

0
scripts/config.toml Normal file
View file

14
scripts/tarball.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/sh
# ensure the submodules are up to date
git submodule init
git submodule update
# begin vendoring cargo dependencies
cd extern/libphysis
cargo vendor ../../cargo-vendored
mkdir .cargo
cp ../../scripts/config.toml .cargo/config.toml
cd ../../
tar --exclude='cmake-build*' --exclude='.idea' --exclude='.clang-format' --exclude='novus-source.tar.gz' --exclude-vcs -zcvf ../novus-source.tar.gz .