enhance 'projects' to allow temporarily adding/removing builds to the session

This commit is contained in:
Mark Harrah 2012-04-06 20:28:31 -04:00
parent ec8f9884e0
commit 740094c4d2
1 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,8 @@ trait Parsers
def flag[T](p: Parser[T]): Parser[Boolean] = (p ^^^ true) ?? false
def trimmed(p: Parser[String]) = p map { _.trim }
def Uri(ex: Set[URI]) = mapOrFail(URIClass)( uri => new URI(uri)) examples(ex.map(_.toString))
lazy val basicUri = mapOrFail(URIClass)( uri => new URI(uri))
def Uri(ex: Set[URI]) = basicUri examples(ex.map(_.toString))
}
object Parsers extends Parsers
object DefaultParsers extends Parsers with ParserMain