Merge pull request #5317 from eed3si9n/wip/cross

workaround client / clean problem
This commit is contained in:
eugene yokota 2019-12-20 15:33:59 -05:00 committed by GitHub
commit ae01f25bab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 6 deletions

View File

@ -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
}
}

View File

@ -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"),
)

View File

@ -1,3 +0,0 @@
crossScalaVersions := Seq("2.12.10", "2.13.1")
libraryDependencies += "org.scalatest" %% "scalatest" % "3.1.0"

View File

@ -1,3 +1,5 @@
> + clean
> + foo / testOnly foo.FooSpec
> + testOnly foo.FooSpec