Add sh action to parent project

This commit is contained in:
Peter Vlugter 2011-05-06 08:12:20 +12:00
parent 289733a735
commit 803b7658aa

View file

@ -10,7 +10,7 @@ import sbt._
import sbt.CompileOrder._
import spde._
class AkkaParentProject(info: ProjectInfo) extends ParentProject(info) with DocParentProject {
class AkkaParentProject(info: ProjectInfo) extends ParentProject(info) with ExecProject with DocParentProject {
// -------------------------------------------------------------------------------------------------------------------
// Compile settings
@ -158,6 +158,9 @@ class AkkaParentProject(info: ProjectInfo) extends ParentProject(info) with DocP
override def disableCrossPaths = true
// add the sh action since it doesn't exist in ParentProject
lazy val sh = task { args => execOut { Process("sh" :: "-c" :: args.mkString(" ") :: Nil) } }
// -------------------------------------------------------------------------------------------------------------------
// Scaladocs
// -------------------------------------------------------------------------------------------------------------------