forked from ucb-bar/chisel2-deprecated
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
65 lines (49 loc) · 1.69 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
organization := "edu.berkeley.cs"
version := "2.0-SNAPSHOT"
name := "chisel"
scalaVersion := "2.10.2"
//sourceDirectory := new File("@srcTop@")
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { x => false }
pomExtra := (
<url>http://chisel.eecs.berkeley.edu/</url>
<licenses>
<license>
<name>BSD-style</name>
<url>http://www.opensource.org/licenses/bsd-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://github.com/ucb-bar/chisel.git</url>
<connection>scm:git:github.com/ucb-bar/chisel.git</connection>
</scm>
<developers>
<developer>
<id>jackbackrack</id>
<name>Jonathan Bachrach</name>
<url>http://people.csail.mit.edu/jrb/</url>
</developer>
<developer>
<id>huytbvo</id>
<name>Huy Vo</name>
</developer>
</developers>
)
publishTo <<= version { v: String =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
org.scalastyle.sbt.ScalastylePlugin.Settings
libraryDependencies += "com.novocode" % "junit-interface" % "0.10-M1" % "test"
libraryDependencies += "org.scalatest" %% "scalatest" % "1.9.1" % "test"
seq(ScctPlugin.instrumentSettings : _*)
// Execute tests in the current project serially.
// Tests from other projects may still run concurrently.
parallelExecution in Test := false
parallelExecution in ScctTest := false
scalacOptions ++= Seq("-deprecation", "-feature", "-language:reflectiveCalls", "-language:implicitConversions", "-language:existentials")