enso/project/LauncherShimsForTest.scala

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
367 B
Scala
Raw Permalink Normal View History

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