ghc/libraries-versions.sh
Jens Petersen 8ad1d461c8 exclude ghc-boot from ghc-libraries
but ghc-boot-th should be there for TH
2017-10-26 20:19:31 +09:00

11 lines
235 B
Bash
Executable File

#!/bin/sh
if [ ! -d libraries ]; then
echo Is CWD a ghc source tree?
exit 1
fi
cd libraries
grep -i ^version: Cabal/Cabal/Cabal.cabal */*.cabal | grep -v -e "\(Win32\|gmp.old\|gmp2\|integer-simple\)" | sed -e "s!/.*: \+!-!"