diff --git a/etc/diskspace/clean-old-stack-libs.sh b/etc/diskspace/clean-old-stack-libs.sh new file mode 100644 index 00000000..06216b94 --- /dev/null +++ b/etc/diskspace/clean-old-stack-libs.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +if [ $# != 1 ]; then + echo "Usage: $0 [nightly|lts-xx]" + exit 1 +fi + +popd ~/stackage/automated/work/$1/unpack-dir/.stack-work/install/x86_64-linux/*/*/lib/x86_64-linux-ghc-* + +~/stackage/etc/diskspace/remove-old-stack-work-libs.hs