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.
5 lines
68 B
Plaintext
5 lines
68 B
Plaintext
# GHC 7.4 or greater
|
|
ghc --version
|
|
>>> /7.(4|6|8|[12][0-9])/
|
|
>>>= 0
|