-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Java doc fixes, added release plugin
- Loading branch information
1 parent
efc44e2
commit 733a596
Showing
5 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,3 @@ | |
target | ||
*~ | ||
tests | ||
project |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import sbt._ | ||
import Keys._ | ||
import sbtrelease._ | ||
import sbtrelease.ReleasePlugin._ | ||
import sbtrelease.ReleaseStateTransformations._ | ||
|
||
object LibExifBuild extends Build { | ||
val dependencies = Seq( | ||
"org.scalatest" %% "scalatest" % "2.0.M5" % "test" cross(CrossVersion.full) | ||
) | ||
val mySettings = Defaults.defaultSettings ++ releaseSettings ++ Seq( | ||
libraryDependencies ++= dependencies, | ||
name := "libexif", | ||
organization := "net.n12n.exif", | ||
scalaVersion in ThisBuild := "2.9.2", | ||
crossScalaVersions := Seq("2.9.2", "2.10.0"), | ||
scalacOptions ++= Seq("-deprecation", "-unchecked"), | ||
testOptions ++= Seq(Tests.Argument("-oSDW")), | ||
version in ThisBuild := "0.1.0-SNAPSHOT", | ||
ReleaseKeys.releaseProcess := Seq[ReleaseStep]( | ||
checkSnapshotDependencies, | ||
inquireVersions, | ||
runTest, | ||
setReleaseVersion, | ||
commitReleaseVersion, | ||
tagRelease, | ||
// publishArtifacts, | ||
setNextVersion, | ||
commitNextVersion, | ||
pushChanges) | ||
) | ||
|
||
lazy val libexif = Project(id = "libexif", base = file("."), settings = mySettings) | ||
|
||
val exampleSettings = Defaults.defaultSettings ++ Seq( | ||
libraryDependencies <+= version("net.n12n.exif" %% "libexif" % _) | ||
) | ||
lazy val examples = Project(id = "examples", base = file("examples"), | ||
settings = exampleSettings) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sbt.version=0.12.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
addSbtPlugin("com.github.gseitz" % "sbt-release" % "0.6") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters