mirror of https://github.com/sbt/sbt.git
make ScopeFilter accessible without a qualifier
Should be improved: ideally there would only be a single top-level alias.
This commit is contained in:
parent
322a49faba
commit
f18ddd2a88
|
|
@ -48,6 +48,9 @@ object ScopeFilter
|
||||||
private[sbt] val Make = new Make {}
|
private[sbt] val Make = new Make {}
|
||||||
trait Make
|
trait Make
|
||||||
{
|
{
|
||||||
|
/** Selects the Scopes used in `<key>.all(<ScopeFilter>)`.*/
|
||||||
|
type ScopeFilter = Base[Scope]
|
||||||
|
|
||||||
/** Selects Scopes with a global task axis. */
|
/** Selects Scopes with a global task axis. */
|
||||||
def inGlobalTask: TaskFilter = globalAxis[AttributeKey[_]]
|
def inGlobalTask: TaskFilter = globalAxis[AttributeKey[_]]
|
||||||
/** Selects Scopes with a global project axis. */
|
/** Selects Scopes with a global project axis. */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue