mirror of https://github.com/sbt/sbt.git
Merge branch 'develop' into scripted-classloader
This commit is contained in:
commit
51f295a922
|
|
@ -41,8 +41,7 @@ package sbt.dsl
|
||||||
* }}}
|
* }}}
|
||||||
* To make this work, the instances are all defined as implicit case objects. Moreover, the
|
* To make this work, the instances are all defined as implicit case objects. Moreover, the
|
||||||
* the [[LinterLevel.Warn]] setting is made default by placing [[LinterLevel.Abort]] and
|
* the [[LinterLevel.Warn]] setting is made default by placing [[LinterLevel.Abort]] and
|
||||||
* [[LinterLevel.Ignore]] in the [[LinterLevelLowPriority]] trait that the [[LinterLevel]]
|
* [[LinterLevel.Ignore]] using the low priority trait pattern.
|
||||||
* companion object extends.
|
|
||||||
*/
|
*/
|
||||||
sealed trait LinterLevel
|
sealed trait LinterLevel
|
||||||
object LinterLevel extends LinterLevelLowPriority {
|
object LinterLevel extends LinterLevelLowPriority {
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ abstract class BaseTaskLinterDSL extends LinterDSL {
|
||||||
val unchecked = symbolOf[sbt.sbtUnchecked].asClass
|
val unchecked = symbolOf[sbt.sbtUnchecked].asClass
|
||||||
val initializeType = typeOf[sbt.Def.Initialize[_]]
|
val initializeType = typeOf[sbt.Def.Initialize[_]]
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* Lints a task tree.
|
* Lints a task tree.
|
||||||
*
|
*
|
||||||
* @param insideIf indicates whether or not the current tree is enclosed in an if statement.
|
* @param insideIf indicates whether or not the current tree is enclosed in an if statement.
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ object A extends AutoPlugin {
|
||||||
Nil
|
Nil
|
||||||
|
|
||||||
def setUpScripted = Command.command("setUpScripted") { (state0: State) =>
|
def setUpScripted = Command.command("setUpScripted") { (state0: State) =>
|
||||||
Project.extract(state0).append(name := "foo", state0)
|
Project.extract(state0).appendWithoutSession(name := "foo", state0)
|
||||||
}
|
}
|
||||||
|
|
||||||
// used to ensure the build-level and global settings are only added once
|
// used to ensure the build-level and global settings are only added once
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue