mirror of
https://github.com/SpinalHDL/SpinalTemplateSbt.git
synced 2025-10-24 16:38:43 +08:00
Compare commits
1 Commits
d7575b9a5d
...
test-folde
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0340f9799c |
@@ -1,8 +1,8 @@
|
||||
ThisBuild / version := "1.0"
|
||||
ThisBuild / scalaVersion := "2.13.14"
|
||||
ThisBuild / scalaVersion := "2.12.18"
|
||||
ThisBuild / organization := "org.example"
|
||||
|
||||
val spinalVersion = "1.10.2a"
|
||||
val spinalVersion = "1.9.4"
|
||||
val spinalCore = "com.github.spinalhdl" %% "spinalhdl-core" % spinalVersion
|
||||
val spinalLib = "com.github.spinalhdl" %% "spinalhdl-lib" % spinalVersion
|
||||
val spinalIdslPlugin = compilerPlugin("com.github.spinalhdl" %% "spinalhdl-idsl-plugin" % spinalVersion)
|
||||
@@ -10,6 +10,7 @@ val spinalIdslPlugin = compilerPlugin("com.github.spinalhdl" %% "spinalhdl-idsl-
|
||||
lazy val projectname = (project in file("."))
|
||||
.settings(
|
||||
Compile / scalaSource := baseDirectory.value / "hw" / "spinal",
|
||||
Test / scalaSource := baseDirectory.value / "test" / "spinal",
|
||||
libraryDependencies ++= Seq(spinalCore, spinalLib, spinalIdslPlugin)
|
||||
)
|
||||
|
||||
|
||||
4
build.sc
4
build.sc
@@ -1,9 +1,9 @@
|
||||
import mill._, scalalib._
|
||||
|
||||
val spinalVersion = "1.10.2a"
|
||||
val spinalVersion = "1.9.0"
|
||||
|
||||
object projectname extends SbtModule {
|
||||
def scalaVersion = "2.13.14"
|
||||
def scalaVersion = "2.12.16"
|
||||
override def millSourcePath = os.pwd
|
||||
def sources = T.sources(
|
||||
millSourcePath / "hw" / "spinal"
|
||||
|
||||
Reference in New Issue
Block a user