Permalink
Browse files

--local and --no-local

  • Loading branch information...
1 parent 67cebee commit b01635e4a6d810ab7443845ad0a558b8a34d130b @eed3si9n eed3si9n committed Oct 17, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/main/scala/conscript.scala
@@ -38,6 +38,12 @@ object Conscript {
opt("b", "branch", "github branch (default: master)", { b =>
config = config.copy(branch = b)
})
+ opt("local", "include local repos", {
+ config = config.copy(entries = config.entries :+ InsertLocalRepository)
+ })
+ opt("no-local", "exclude local and maven-local repos", {
+ config = config.copy(entries = config.entries ++ Seq(RemoveLocalRepository, RemoveMavenLocalRepository))
+ })
opt("version", "print current version", {
config = config.copy(usage = true)
})

0 comments on commit b01635e

Please sign in to comment.