simplify .sbt files
This commit is contained in:
parent
a69c749249
commit
4daa20b5fe
@ -6,6 +6,10 @@ name := "uncore"
|
|||||||
|
|
||||||
scalaVersion := "2.10.2"
|
scalaVersion := "2.10.2"
|
||||||
|
|
||||||
|
// Provide a managed dependency on chisel if -DchiselVersion="" is supplied on the command line.
|
||||||
|
libraryDependencies ++= (Seq("chisel").map {
|
||||||
|
dep: String => sys.props.get(dep + "Version") map { "edu.berkeley.cs" %% dep % _ }}).flatten
|
||||||
|
|
||||||
site.settings
|
site.settings
|
||||||
|
|
||||||
site.includeScaladoc()
|
site.includeScaladoc()
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
// Provide a managed dependency on chisel if -DchiselVersion="" is
|
|
||||||
// supplied on the command line.
|
|
||||||
|
|
||||||
val chiselVersion_u = System.getProperty("chiselVersion", "None")
|
|
||||||
|
|
||||||
// _u a temporary fix until sbt 13.6 https://github.com/sbt/sbt/issues/1465
|
|
||||||
|
|
||||||
libraryDependencies ++= ( if (chiselVersion_u != "None" ) ("edu.berkeley.cs" %% "chisel" % chiselVersion_u) :: Nil; else Nil)
|
|
Loading…
Reference in New Issue
Block a user