Skip to content
This repository has been archived by the owner on May 15, 2019. It is now read-only.

Commit

Permalink
Added initialCommands to sbt REPL.
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n committed Jul 18, 2011
1 parent 9591c16 commit 85da84d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sbt
Expand Up @@ -39,6 +39,10 @@ libraryDependencies <++= (scalaVersion) { (v) =>
)
}

initialCommands in console := """import com.codecommit.antixml._
|val bookstore = <bookstore><book><title>For Whom the Bell Tolls</title><author>Hemmingway</author></book><book><title>I, Robot</title><author>Isaac Asimov</author></book><book><title>Programming Scala</title><author>Dean Wampler</author><author>Alex Payne</author></book></bookstore>.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 {
Expand Down

0 comments on commit 85da84d

Please sign in to comment.