title: How can I call another task from my SBT task?
body: <p>I'm trying to call the <code>runTask</code> inside of my task and considered this would work:</p>
  
  <pre><code>name := "hello"
  
  version := "1.0"
  
  scalaVersion := "2.10.2"
  
  lazy val hello = taskKey[Unit]("executes hey")
  
  lazy val helloTask = hello &lt;&lt;= runTask(fullClasspath, "sample.Hey" in run, runner in run)
  </code></pre>
  
  <p>But, well, it doesn't. Any ideas on how I could do this?</p>