Skip to content

Commit

Permalink
reorganize source directory
Browse files Browse the repository at this point in the history
  • Loading branch information
sashimi-yzh committed Apr 10, 2024
1 parent 1906a21 commit 99b9b60
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import mill.bsp._

object playground extends SbtModule with ScalafmtModule { m =>
val useChisel3 = false
override def millSourcePath = os.pwd
override def millSourcePath = os.pwd / "src"
override def scalaVersion = "2.13.12"
override def scalacOptions = Seq(
"-language:reflectiveCalls",
Expand All @@ -19,7 +19,7 @@ object playground extends SbtModule with ScalafmtModule { m =>
"-Xcheckinit"
)
override def sources = T.sources {
super.sources() ++ Seq(PathRef(millSourcePath / "playground" / "src" ))
super.sources() ++ Seq(PathRef(millSourcePath / "main"))
}
override def ivyDeps = Agg(
if (useChisel3) ivy"edu.berkeley.cs::chisel3:3.6.0" else
Expand All @@ -31,7 +31,7 @@ object playground extends SbtModule with ScalafmtModule { m =>
)
object test extends SbtModuleTests with TestModule.ScalaTest {
override def sources = T.sources {
super.sources() ++ Seq(PathRef(millSourcePath / "playground" / "test" / "src"))
super.sources() ++ Seq(PathRef(millSourcePath / "test"))
}
override def ivyDeps = super.ivyDeps() ++ Agg(
if (useChisel3) ivy"edu.berkeley.cs::chiseltest:0.6.0" else
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 99b9b60

Please sign in to comment.