1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-21 19:57:44 +00:00
novus/scripts/tarball.sh
2023-10-04 18:12:31 -04:00

14 lines
404 B
Bash
Executable file

#!/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 .