Shell scripts for support of Cabal maintenance
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package=`basename $1 .tar.gz`
tar xfz ./dist/$package.tar.gz --directory=/tmp/
cd /tmp/$package/
runhaskell Setup configure --user --enable-tests
runhaskell Setup build
runhaskell Setup haddock
echo
echo "'cabal check' says"
cabal check
echo
echo "After running tests you may want to call:"
echo rm -r /tmp/$package/
|