Skip to content

Commit

Permalink
Java doc fixes, added release plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ngrossmann committed Feb 14, 2013
1 parent efc44e2 commit 733a596
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
target
*~
tests
project
40 changes: 40 additions & 0 deletions project/Build.scala
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)
}
1 change: 1 addition & 0 deletions project/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sbt.version=0.12.2
1 change: 1 addition & 0 deletions project/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("com.github.gseitz" % "sbt-release" % "0.6")
2 changes: 1 addition & 1 deletion src/main/scala/net/n12n/exif/ExifSegment.scala
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ object ExifSegment {
* ''0thIFD'' is mandatory all others are optional.
*
* To see which attributes are defined in which IFD check the corresponding companion objects
* [[net.n12n.exif.TiffIfd]], [[net.n12n.exif.ExifIfd]] and [[net.n12.exif.GpsIfd]].
* [[net.n12n.exif.TiffIfd]], [[net.n12n.exif.ExifIfd]] and [[net.n12n.exif.GpsIfd]].
*
* @param marker segment marker, see [[net.n12n.exif.Segment]].
* @param length segment length, see [[net.n12n.exif.Segment]].
Expand Down

0 comments on commit 733a596

Please sign in to comment.