From 803b7658aac11bfc8c44042767c852fecb8a591d Mon Sep 17 00:00:00 2001 From: Peter Vlugter Date: Fri, 6 May 2011 08:12:20 +1200 Subject: [PATCH] Add sh action to parent project --- project/build/AkkaProject.scala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/project/build/AkkaProject.scala b/project/build/AkkaProject.scala index 8c11ccb3d2..640f88d1c4 100644 --- a/project/build/AkkaProject.scala +++ b/project/build/AkkaProject.scala @@ -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 // -------------------------------------------------------------------------------------------------------------------