From 85da84da30f41d61387de4d419958a08d1a5cc23 Mon Sep 17 00:00:00 2001 From: "e.e d3si9n" Date: Sun, 17 Jul 2011 20:47:14 -0400 Subject: [PATCH] Added initialCommands to sbt REPL. --- build.sbt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sbt b/build.sbt index a19aa9a..c231ae0 100644 --- a/build.sbt +++ b/build.sbt @@ -39,6 +39,10 @@ libraryDependencies <++= (scalaVersion) { (v) => ) } +initialCommands in console := """import com.codecommit.antixml._ + |val bookstore = For Whom the Bell TollsHemmingwayI, RobotIsaac AsimovProgramming ScalaDean WamplerAlex Payne.convert + |val books = bookstore \ "book" """.stripMargin + InputKey[Option[String]]("test-perf") <<= inputTask { (args: TaskKey[Seq[String]]) => (args, streams, classDirectory in Test, classDirectory in Compile, managedClasspath in Test, compile in Test, compile in Compile) map {