Skip to content
Open
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.11.7
0.12.17
20 changes: 11 additions & 9 deletions build.sc → build.mill
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import mill._, scalalib._
import coursier.maven.MavenRepository
package build

import mill._
import mill.scalalib._

val pwd = os.Path(sys.env("MILL_WORKSPACE_ROOT"))

object ivys {
val scala = "2.13.14"
val chisel = ivy"org.chipsalliance::chisel:7.11.0"
val chiselPlugin = ivy"org.chipsalliance:::chisel-plugin:7.11.0"
val chisel = mvn"org.chipsalliance::chisel:7.11.0"
val chiselPlugin = mvn"org.chipsalliance:::chisel-plugin:7.11.0"
}

trait CommonModule extends ScalaModule {
Expand All @@ -21,17 +25,15 @@ trait HasChisel extends ScalaModule {
trait CommonNS extends SbtModule with CommonModule with HasChisel

object difftest extends CommonNS {
override def millSourcePath = os.pwd / "difftest"
override def millSourcePath = pwd / "difftest"
}

object generator extends CommonNS {

override def millSourcePath = os.pwd
override def millSourcePath = pwd

override def moduleDeps = super.moduleDeps ++ Seq(
difftest
)

object test extends SbtModuleTests with TestModule.ScalaTest

object test extends SbtTests with TestModule.ScalaTest
}
Loading