mirror of https://github.com/sbt/sbt.git
make global scope explicit in command-retrieval
This commit is contained in:
parent
787f00985b
commit
09b36a4476
|
|
@ -100,7 +100,7 @@ object Project extends Init[Scope]
|
|||
def get[T](k: SettingKey[T]): Option[T] = k in ref get structure.data
|
||||
def commandsIn(axis: ResolvedReference) = commands in axis get structure.data toList ;
|
||||
|
||||
val allCommands = commandsIn(ref) ++ commandsIn(BuildRef(ref.build)) ++ (commands get structure.data toList )
|
||||
val allCommands = commandsIn(ref) ++ commandsIn(BuildRef(ref.build)) ++ (commands in Global get structure.data toList )
|
||||
val history = get(historyPath) flatMap identity
|
||||
val prompt = get(shellPrompt)
|
||||
val watched = get(watch)
|
||||
|
|
|
|||
Loading…
Reference in New Issue