refactor: simplify project structure

This commit is contained in:
Côme ALLART
2022-11-18 23:19:11 +01:00
parent 9ccca0f64a
commit 4849860e14
10 changed files with 36 additions and 33 deletions

View File

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