title: Haskell Build Automation
body: <p>What is the preferred way to automate build/test/ci/doc-gen/... for a Haskell project?</p>
  <p>At the moment I use Cabal for the &quot;final&quot; build and bash-scripts to automate testing/checkins/doc-gen/.. but I would like to replace the bash-scripts.</p>
  <p>I've installed Nemesis (rake for Haskell according to the author) but I'm not yet sure it's the right tool.</p>
  <p>Just to clarify: I'm looking for something that I can add custom commands with custom arguments to (is it possible with Cabal?), i.e.</p>
  <blockquote>
  <p>foo test unit</p>
  <p>foo test db</p>
  <p>foo test all</p>
  <p>foo db migrate</p>
  <p>...</p>
  </blockquote>