title: How to execute a bash script as sbt task?
body: <p>I want to automatically build documentation for my Java Play 2.3 application.
  At the moment, I use a Makefile to generate images from <code>*.dot</code>files and combine Markdown sources together into Html/PDF:</p>
  
  <pre><code>dot diagram1.dot -Tpdf -o diagram1.pdf
  dot diagram2.dot -Tpdf -o diagram2.pdf
  pandoc doc1.markdown -o doc1.pdf
  # ...
  </code></pre>
  
  <p>Now I want to run these simple bash commands directly from SBT. 
  What's the best way to do this?</p>
  
  <p>I found some <a href="http://www.scala-sbt.org/0.13/docs/Community-Plugins.html#Documentation+plugins">SBT Documentation plugins</a> in the SBT reference, but nothing to run a simple shell script.</p>