enso/project/LauncherShimsForTest.scala
2021-12-27 17:56:35 +01:00

18 lines
364 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(
"build -p launcher-shims",
log = log
)
}
}