From 1932ea0aa11b5cf75b3d16382209e531773b8364 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Fri, 22 Mar 2024 17:32:11 -0400 Subject: [PATCH] Attempt to exclude large files from source tar.gz --- scripts/tarball.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/tarball.sh b/scripts/tarball.sh index 5b367a1..4abf315 100755 --- a/scripts/tarball.sh +++ b/scripts/tarball.sh @@ -7,6 +7,9 @@ git submodule update # begin vendoring cargo dependencies cd external/libphysis cargo vendor ../../cargo-vendored +# workaround for https://github.com/rust-lang/cargo/issues/7058, winapi libraries take up a ton of space +rm -fr ../../cargo-vendored/winapi*gnu* +rm -fr ../../cargo-vendored/windows* mkdir .cargo cp ../../scripts/config.toml .cargo/config.toml cd ../../