mirror of https://github.com/sbt/sbt.git
Merge pull request #5317 from eed3si9n/wip/cross
workaround client / clean problem
This commit is contained in:
commit
ae01f25bab
|
|
@ -183,7 +183,7 @@ object Cross {
|
|||
val parts = project(k).map(_.project) ++ k.scope.config.toOption.map {
|
||||
case ConfigKey(n) => n.head.toUpper + n.tail
|
||||
} ++ k.scope.task.toOption.map(_.label) ++ Some(k.key.label)
|
||||
Some(v -> parts.mkString("", " / ", fullArgs))
|
||||
Some(v -> parts.mkString("", "/", fullArgs))
|
||||
} else None
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,16 @@
|
|||
val foo = project
|
||||
val root = (project in file(".")).aggregate(foo)
|
||||
lazy val root = (project in file("."))
|
||||
.aggregate(foo, client)
|
||||
.settings(
|
||||
crossScalaVersions := Nil
|
||||
)
|
||||
|
||||
lazy val foo = project
|
||||
.settings(
|
||||
crossScalaVersions := Seq("2.12.10", "2.13.1"),
|
||||
libraryDependencies += "org.scalatest" %% "scalatest" % "3.1.0",
|
||||
)
|
||||
|
||||
lazy val client = project
|
||||
.settings(
|
||||
crossScalaVersions := Seq("2.12.10", "2.13.1"),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
crossScalaVersions := Seq("2.12.10", "2.13.1")
|
||||
|
||||
libraryDependencies += "org.scalatest" %% "scalatest" % "3.1.0"
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
> + clean
|
||||
|
||||
> + foo / testOnly foo.FooSpec
|
||||
|
||||
> + testOnly foo.FooSpec
|
||||
|
|
|
|||
Loading…
Reference in New Issue