We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 142aa62 commit 4042b32Copy full SHA for 4042b32
scripts/create_source_tarball.sh
@@ -43,6 +43,10 @@ git checkout-index --all --prefix="$SOLDIR"
43
# shellcheck disable=SC2016
44
SOLDIR="$SOLDIR" git submodule foreach 'git checkout-index --all --prefix="${SOLDIR}/${sm_path}/"'
45
46
+# Documentation is pretty heavy and not necessary to build the compiler.
47
+# Especially nlohmann-json has several huge images, which blow up the size of the compressed tarball.
48
+SOLDIR="$SOLDIR" git submodule foreach 'rm -rf "${SOLDIR}/${sm_path}/"{doc,docs}/'
49
+
50
# Include the commit hash and prerelease suffix in the tarball
51
echo "$commit_hash" > "${SOLDIR}/commit_hash.txt"
52
[[ -e prerelease.txt ]] && cp prerelease.txt "${SOLDIR}/"
0 commit comments