Skip to content

Commit

Permalink
Changed skip to be a Task so we can dynamically compute it's value ba…
Browse files Browse the repository at this point in the history
…sed on a file
  • Loading branch information
jsuereth committed Aug 12, 2011
1 parent 30aafe5 commit 95b8c34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/Keys.scala
Expand Up @@ -274,7 +274,7 @@ object Keys
val sbtResolver = SettingKey[Resolver]("sbt-resolver", "Provides a resolver for obtaining sbt as a dependency.")
val sbtDependency = SettingKey[ModuleID]("sbt-dependency", "Provides a definition for declaring the current version of sbt.")
val sbtVersion = SettingKey[String]("sbt-version", "Provides the version of sbt. This setting should be not be modified.")
val skip = SettingKey[Boolean]("skip")
val skip = TaskKey[Boolean]("skip")

// special
val parallelExecution = SettingKey[Boolean]("parallel-execution", "Enables (true) or disables (false) parallel execution of tasks.")
Expand All @@ -300,4 +300,4 @@ object Keys
base.copy(info = base.info.set(isDummyTask, true))
}
def isDummy(t: Task[_]): Boolean = t.info.attributes.get(isDummyTask) getOrElse false
}
}

0 comments on commit 95b8c34

Please sign in to comment.