Fed up with GHC/cabal constantly assaulting me like Cato in a Pink Panther movie, here are some shell tests to give me some warning/reassurance about the dev setup on various machines. Thou Shalt Not Reimplement Autoconf, but perhaps a little cross-platform test suite focussed on my needs is a reasonable idea.
6 lines
102 B
Plaintext
6 lines
102 B
Plaintext
# cabal 1.20 or greater
|
|
cabal --version
|
|
>>> /cabal-install version (1\.(2[0-9]|[3-9])|[2-9])/
|
|
>>>= 0
|
|
|