mirror of https://github.com/sbt/sbt.git
Merge pull request #2743 from eed3si9n/wip/silent
[sbt 1.0] Silent startup for scalas
This commit is contained in:
commit
1b9f700c52
|
|
@ -57,10 +57,13 @@ final class xMain extends xsbti.AppMain {
|
|||
}
|
||||
final class ScriptMain extends xsbti.AppMain {
|
||||
def run(configuration: xsbti.AppConfiguration): xsbti.MainResult =
|
||||
runManaged(initialState(configuration,
|
||||
BuiltinCommands.ScriptCommands,
|
||||
Script.Name :: Nil)
|
||||
)
|
||||
{
|
||||
import BasicCommandStrings.runEarly
|
||||
runManaged(initialState(configuration,
|
||||
BuiltinCommands.ScriptCommands,
|
||||
runEarly(Level.Error.toString) :: Script.Name :: Nil)
|
||||
)
|
||||
}
|
||||
}
|
||||
final class ConsoleMain extends xsbti.AppMain {
|
||||
def run(configuration: xsbti.AppConfiguration): xsbti.MainResult =
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
### Improvements
|
||||
|
||||
- The startup log level is dropped to `-error` in script mode using `scalas`. [#840][840] by [@eed3si9n][@eed3si9n]
|
||||
|
||||
[@eed3si9n]: https://github.com/eed3si9n
|
||||
[840]: https://github.com/sbt/sbt/issues/840
|
||||
Loading…
Reference in New Issue