mirror of
https://github.com/enso-org/enso.git
synced 2024-12-19 13:21:37 +03:00
746521f8b2
Co-authored-by: Radosław Waśko <radoslaw.wasko@enso.org> Co-authored-by: Dmitry Bushev <bushevdv@gmail.com>
21 lines
485 B
Scala
21 lines
485 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.
|
|
*
|
|
* @param rustcVersion Rust version that should be used
|
|
*/
|
|
def prepare(rustcVersion: String): Def.Initialize[Task[Unit]] =
|
|
Def.task {
|
|
val log = state.value.log
|
|
Cargo.run(
|
|
"build -p launcher-shims",
|
|
rustVersion = rustcVersion,
|
|
log = log
|
|
)
|
|
}
|
|
}
|