[Haskell-cafe] Re: Reverting to any old version using Darcs

Simon Michael simon at joyful.com
Thu Apr 2 13:33:32 EDT 2009

I'm learning useful things in this thread.

Ketil Malde wrote:
 > I've done this once, but with the cabal dependencies, not darcs.  Thus
 > the uploaded sdist was missing one of the source files, and
 > consequently failed to build.

I have a pre-release make target where I test everything I can think of. 
  I think it prevents the above, am I right ?

  # run pre-release checks: cabal is happy, the code builds, tests 
  check: setversion unittest doctest haddocktest 

    cabal clean 

    cabal check 

    cabal configure 

    cabal build 

    dist/build/hledger/hledger test 2>&1 | tail -1 | grep -q 'Errors: 0 
  Failures: 0'                                                   |

More information about the Haskell-Cafe mailing list