diff --git a/.gitignore b/.gitignore index 5208291..d82196f 100644 --- a/.gitignore +++ b/.gitignore @@ -12,8 +12,9 @@ support/Dockerfile version.cpp version.rc .DS_Store -*.tar.gz +*.gz *.bz2 *.xz *.zip *.msi +*.exe diff --git a/clean_packages.sh b/clean_packages.sh new file mode 100755 index 0000000..153f0b6 --- /dev/null +++ b/clean_packages.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +CURRENT_DIR=$(realpath "$0") +CURRENT_DIR=$(dirname "${CURRENT_DIR}") + +pushd "${CURRENT_DIR}" + +mapfile -t FILE_LIST < <(find support/3rd_party/ -type f \( -name '*.gz' -o -name '*.bz2' -o -name '*.xz' -o -name '*.msi' -o -name '*.zip' \)) + +for NAME in "${FILE_LIST[@]}"; do + echo "Removing ${NAME}" + rm -f "${NAME}" +done + +mapfile -t FILE_LIST < <(find support/3rd_party/mingw64/ -type f \( -name '*.exe' \)) +for NAME in "${FILE_LIST[@]}"; do + echo "Removing ${NAME}" + rm -f "${NAME}" +done + +popd diff --git a/support/3rd_party/mingw64/innosetup-6.5.4.exe b/support/3rd_party/mingw64/innosetup-6.5.4.exe deleted file mode 100644 index bbd9eb0..0000000 --- a/support/3rd_party/mingw64/innosetup-6.5.4.exe +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fa73bf47a4da250d185d07561c2bfda387e5e20db77e4570004cf6a133cc10b1 -size 7770392