enso/project/LauncherShimsForTest.scala
Jaroslav Tulach 632a303089
Use SimpleFormatter.formatMessage to replace {0} with actual parameters (#5870)
Fixes #5801 to properly format Truffle log records before sending them for further processing.
2023-03-11 00:15:58 +00:00

18 lines
367 B
Scala

import sbt.Keys._
import sbt._
object LauncherShimsForTest {
/** Creates a task that compiles the launcher shims which are used for some of
* the launcher tests.
*/
def prepare(): Def.Initialize[Task[Unit]] =
Def.task {
val log = state.value.log
Cargo.run(
Seq("build", "-p", "launcher-shims"),
log = log
)
}
}