Remove lm scripted tests

This commit is contained in:
Adrien Piquerez 2024-10-09 08:56:33 +02:00
parent 82ed595352
commit b00b4d2c1f
16 changed files with 0 additions and 135 deletions

View File

@ -1,3 +0,0 @@
lazy val root = (project in file(".")).aggregate(parent, child)
lazy val parent = project
lazy val child = project.dependsOn(parent)

View File

@ -1,6 +0,0 @@
object Main {
println("hello, world!")
}

View File

@ -1,27 +0,0 @@
{
def writePluginsSbt(str: String) = {
val pluginsSbt = file(".") / "project" / "plugins.sbt"
if (!pluginsSbt.exists)
IO.write(
pluginsSbt,
s"""$str
|addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.8")
|""".stripMargin
)
}
val dr = sys.props.get("dependency.resolution") match {
case Some("ivy") =>
"""dependencyResolution := sbt.librarymanagement.ivy.IvyDependencyResolution(ivyConfiguration.value)"""
case Some("coursier") =>
"""dependencyResolution := sbt.librarymanagement.coursier.CoursierDependencyResolution(sbt.librarymanagement.coursier.CoursierConfiguration())"""
case _ => sys.error("""|The system property 'dependency.resolution' is not defined.
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin)
}
writePluginsSbt(dr)
addCommandAlias(
"setDependencyResolution",
s"""set $dr"""
)
}

View File

@ -1,2 +0,0 @@
> reload
> assembly

View File

@ -1,8 +0,0 @@
object Main {
import com.typesafe.config.ConfigFactory
val x = ConfigFactory.load()
}

View File

@ -1,19 +0,0 @@
sys.props.get("dependency.resolution") match {
case Some("ivy") =>
addCommandAlias(
"setDependencyResolution",
"""set dependencyResolution := sbt.librarymanagement.ivy.IvyDependencyResolution(ivyConfiguration.value)"""
)
case Some("coursier") =>
addCommandAlias(
"setDependencyResolution",
"""set dependencyResolution := sbt.librarymanagement.coursier.CoursierDependencyResolution(sbt.librarymanagement.coursier.CoursierConfiguration())"""
)
case _ => sys.error("""|The system property 'dependency.resolution' is not defined.
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin)
}
libraryDependencies ++= Seq(
"com.typesafe" % "config" % "1.3.3"
)

View File

@ -1 +0,0 @@
> compile

View File

@ -1,25 +0,0 @@
{
def writePluginsSbt(str: String) = {
val pluginsSbt = file(".") / "project" / "plugins.sbt"
if (!pluginsSbt.exists)
IO.write(
pluginsSbt,
str
)
}
val dr = sys.props.get("dependency.resolution") match {
case Some("ivy") =>
"""dependencyResolution := sbt.librarymanagement.ivy.IvyDependencyResolution(ivyConfiguration.value)"""
case Some("coursier") =>
"""dependencyResolution := sbt.librarymanagement.coursier.CoursierDependencyResolution(sbt.librarymanagement.coursier.CoursierConfiguration())"""
case _ => sys.error("""|The system property 'dependency.resolution' is not defined.
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin)
}
writePluginsSbt(dr)
addCommandAlias(
"setDependencyResolution",
s"""set $dr"""
)
}

View File

@ -1,6 +0,0 @@
import sbt._
import Keys._
object Dependencies {
}

View File

@ -1,14 +0,0 @@
object Main {
import akka.actor._
val system = ActorSystem()
system.terminate()
import com.typesafe.config.ConfigFactory
val x = ConfigFactory.load()
}

View File

@ -1,19 +0,0 @@
sys.props.get("dependency.resolution") match {
case Some("ivy") =>
addCommandAlias(
"setDependencyResolution",
"""set dependencyResolution := sbt.librarymanagement.ivy.IvyDependencyResolution(ivyConfiguration.value)"""
)
case Some("coursier") =>
addCommandAlias(
"setDependencyResolution",
"""set dependencyResolution := sbt.librarymanagement.coursier.CoursierDependencyResolution(sbt.librarymanagement.coursier.CoursierConfiguration())"""
)
case _ => sys.error("""|The system property 'dependency.resolution' is not defined.
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin)
}
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.5.17"
)