Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

58 lines (40 sloc) 1.406 kB
import sbtrelease._
organization := "com.typesafe.sbteclipse"
name := "sbteclipse"
// version is defined in version.sbt in order to support sbt-release
sbtPlugin := true
scalacOptions ++= Seq("-unchecked", "-deprecation")
libraryDependencies ++= Seq("org.scalaz" %% "scalaz-core" % "6.0.3")
publishTo <<= (version) { version =>
val (name, url) =
if (version endsWith "SNAPSHOT")
"ivy-snapshots" -> "http://repo.typesafe.com/typesafe/ivy-snapshots/"
else
"ivy-releases" -> "http://repo.typesafe.com/typesafe/ivy-releases/"
Some(Resolver.url(name, new URL(url))(Resolver.ivyStylePatterns))
}
publishMavenStyle := false
seq(posterousSettings: _*)
(email in Posterous) <<= PropertiesKeys.properties(_ get "posterous.email")
(password in Posterous) <<= PropertiesKeys.properties(_ get "posterous.password")
seq(propertiesSettings: _*)
seq(Release.releaseSettings: _*)
ReleaseKeys.releaseProcess <<= thisProjectRef { ref =>
import ReleaseStateTransformations._
Seq[ReleasePart](
initialGitChecks,
checkSnapshotDependencies,
releaseTask(check in Posterous in ref),
inquireVersions,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
releaseTask(publish in Global in ref),
releaseTask(publish in Posterous in ref),
setNextVersion,
commitNextVersion
)
}
seq(scalariformSettings: _*)
seq(scriptedSettings: _*)
Jump to Line
Something went wrong with that request. Please try again.