Skip to content

Commit

Permalink
add mill support
Browse files Browse the repository at this point in the history
  • Loading branch information
numero-744 committed Nov 23, 2022
1 parent c945e59 commit 2ce6b34
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ import mill._, scalalib._

val spinalVersion = "1.7.3"

object mylib extends SbtModule {
def scalaVersion = "2.12.14"
object projectname extends SbtModule {
def scalaVersion = "2.12.16"
override def millSourcePath = os.pwd
def sources = T.sources(
millSourcePath / "hw" / "spinal"
)
def ivyDeps = Agg(
ivy"com.github.spinalhdl::spinalhdl-core:$spinalVersion",
ivy"com.github.spinalhdl::spinalhdl-lib:$spinalVersion"
Expand Down

0 comments on commit 2ce6b34

Please sign in to comment.