etc/diskspace/clean-old-stack-libs.sh wrapper shell script
commit95b3cae91d44be7d23f8f3b906231d43b0b9adfc
authorJens Petersen <juhpetersen@gmail.com>
dateTue 19 May 2020, 14:29 (6 years ago)
parent2c27b69
etc/diskspace/clean-old-stack-libs.shnew file+10
@@ -0,0 +1,10 @@
1+#!/bin/sh
2+
3+if [ $# != 1 ]; then
4+ echo "Usage: $0 [nightly|lts-xx]"
5+ exit 1
6+fi
7+
8+popd ~/stackage/automated/work/$1/unpack-dir/.stack-work/install/x86_64-linux/*/*/lib/x86_64-linux-ghc-*
9+
10+~/stackage/etc/diskspace/remove-old-stack-work-libs.hs