Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): Update mill-main from 0.10.12 to 0.11.1 #48

Merged
merged 2 commits into from
Jun 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .mill-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.10.12
0.11.1
15 changes: 8 additions & 7 deletions build.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import $ivy.`com.github.lolgab::mill-mima::0.0.23`
import $ivy.`com.github.lolgab::mill-crossplatform::0.2.2`
import $ivy.`com.github.lolgab::mill-crossplatform::0.2.3`
import $ivy.`com.goyeau::mill-scalafix::0.3.1`
import $ivy.`io.chris-kipp::mill-ci-release::0.1.9`

Expand Down Expand Up @@ -64,19 +64,20 @@ trait CommonTest extends ScalaModule with TestModule.Munit {
def ivyDeps = Agg(ivy"org.scalameta::munit::1.0.0-M7")
}

object config extends Cross[ConfigModule](scalaVersions: _*)
class ConfigModule(val crossScalaVersion: String) extends CrossPlatform {
object config extends Cross[ConfigModule](scalaVersions)
trait ConfigModule extends CrossPlatform {
trait Shared
extends CrossPlatformCrossScalaModule
with Common
with CommonPublish

object jvm extends Shared {
object test extends CrossPlatformSources with Tests with CommonTest
object test extends CrossPlatformSources with ScalaTests with CommonTest
}

object js extends Shared with ScalaJSModule {
override def scalaJSVersion = scalaJS1
object test extends CrossPlatformSources with Tests with CommonTest {
override def moduleKind = T { ModuleKind.CommonJSModule }
}
override def moduleKind = T { ModuleKind.CommonJSModule }
object test extends CrossPlatformSources with ScalaJSTests with CommonTest
}
}