mirror of https://github.com/sbt/sbt.git
handle information only options that disable a full compilation
This commit is contained in:
parent
a79d06ab1f
commit
801c0567fd
|
|
@ -75,6 +75,11 @@ class CompilerInterface
|
||||||
}
|
}
|
||||||
trait Compat27 { val runsBefore: List[String] = Nil }
|
trait Compat27 { val runsBefore: List[String] = Nil }
|
||||||
}
|
}
|
||||||
|
if(command.shouldStopWithInfo)
|
||||||
|
{
|
||||||
|
reporter.info(null, command.getInfoMessage(compiler), true)
|
||||||
|
throw new InterfaceCompileFailed(args, Array(), "Compiler option supplied that disabled actual compilation.")
|
||||||
|
}
|
||||||
if(noErrors)
|
if(noErrors)
|
||||||
{
|
{
|
||||||
val run = new compiler.Run
|
val run = new compiler.Run
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue