-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.sbt
41 lines (32 loc) · 1.48 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
name := "MotifMaker"
organization in ThisBuild := "pacbio.smrt.motifmaker"
scalaVersion in ThisBuild := "2.11.8"
//scalacOptions in ThisBuild := Seq("-unchecked", "-deprecation", "-encoding", "utf8", "-feature")
scalacOptions in ThisBuild := Seq("-encoding", "utf8", "-feature")
//val buildNumber = (if (sys.env.get("bamboo_buildNumber").isDefined) sys.env("bamboo_buildNumber") else "0")
version in ThisBuild := "0.3.2-SNAPSHOT"
credentials in ThisBuild += Credentials(Path.userHome / ".ivy2" / ".credentials")
publishTo in ThisBuild := {
val nexus = "http://ossnexus.pacificbiosciences.com/repository/"
if (isSnapshot.value) Some("Nexus snapshots" at nexus + "maven-snapshots")
else Some("Nexus releases" at nexus + "maven-releases")
}
packSettings
lazy val motifMaker = (
Project("MotifMaker", file("."))
settings (
libraryDependencies ++= Seq(
"org.scala-lang.modules" %% "scala-xml" % "1.0.2",
"com.github.scopt" %% "scopt" % "3.4.0",
"au.com.bytecode" % "opencsv" % "2.4",
"com.beust" % "jcommander" % "1.27",
"org.specs2" % "specs2_2.11" % "2.4.1-scalaz-7.0.6" % "test"
)
)
)
.disablePlugins(plugins.JUnitXmlReportPlugin)
.settings(
mainClass in assembly := Some("com.pacbio.basemods.Program"),
initialCommands in (Test, console) := """ammonite.repl.Main.run("")""",
testOptions in Test += Tests.Argument(TestFrameworks.Specs2, "junitxml", "console"))
packMain := Map("motifMaker" -> "com.pacbio.basemods.Program")