Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
dlwh committed Jun 17, 2016
1 parent 0fc6431 commit eb696c5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
5 changes: 4 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
enablePlugins(GitVersioning)

organization := "org.scalanlp"

name := "breeze-parent"


lazy val root = project.in( file(".") )
.aggregate(math, natives, viz, macros).dependsOn(math, viz)

Expand Down Expand Up @@ -54,4 +57,4 @@ pomExtra := (
<name>David Hall</name>
<url>http://www.dlwh.org/</url>
</developer>
</developers>)
</developers>)
2 changes: 2 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ addSbtPlugin("de.johoop" % "jacoco4sbt" % "2.1.6")
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "4.0.0")

addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "0.2.2")

addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "0.8.5")
14 changes: 13 additions & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
version in ThisBuild := "0.14-SNAPSHOT"
git.baseVersion := "0.14"
// git.useGitDescribe := true

val VersionRegex = "v([0-9]+.[0-9]+.[0-9]+)-?(.*)?".r

git.gitTagToVersionNumber := { v: String =>
v match {
case VersionRegex(v,"") => Some(v)
case VersionRegex(v,"SNAPSHOT") => Some(s"$v-SNAPSHOT")
case VersionRegex(v,s) => Some(s"$v-$s-SNAPSHOT")
case _ => None
}
}

0 comments on commit eb696c5

Please sign in to comment.