Skip to content

Commit

Permalink
Merge branch 'release/0.1.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
ethul committed Aug 11, 2014
2 parents 2394aff + 21bfbc4 commit 7d7879e
Showing 1 changed file with 34 additions and 23 deletions.
57 changes: 34 additions & 23 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ organization := "com.github.ethul"

name := "redis-algebra"

version := "0.1.2"
version := "0.1.3"

scalaVersion := "2.11.2"

Expand All @@ -14,28 +14,39 @@ libraryDependencies += "org.specs2" %% "specs2" % "2.4" % "test"

resolvers += "Sonatype releases" at "https://oss.sonatype.org/content/repositories/releases/"

scalacOptions ++= Seq(
"-deprecation",
"-encoding", "UTF-8",
"-feature",
"-language:higherKinds",
"-language:implicitConversions",
"-language:postfixOps",
"-unchecked",
"-Xfatal-warnings",
"-Xlint:_",
"-Yno-adapted-args",
"-Ywarn-adapted-args",
"-Ywarn-dead-code",
"-Ywarn-inaccessible",
"-Ywarn-infer-any",
"-Ywarn-nullary-override",
"-Ywarn-nullary-unit",
"-Ywarn-numeric-widen",
"-Ywarn-unused",
"-Ywarn-unused-import",
"-Ywarn-value-discard"
)
scalacOptions <<= scalaVersion map { a =>
if (a.startsWith("2.10.")) {
Seq("-deprecation",
"-feature",
"-language:higherKinds",
"-unchecked",
"-Xlint",
"-Xfatal-warnings",
"-Yno-adapted-args")
}
else {
Seq("-deprecation",
"-encoding", "UTF-8",
"-feature",
"-language:higherKinds",
"-language:implicitConversions",
"-language:postfixOps",
"-unchecked",
"-Xfatal-warnings",
"-Xlint:_",
"-Yno-adapted-args",
"-Ywarn-adapted-args",
"-Ywarn-dead-code",
"-Ywarn-inaccessible",
"-Ywarn-infer-any",
"-Ywarn-nullary-override",
"-Ywarn-nullary-unit",
"-Ywarn-numeric-widen",
"-Ywarn-unused",
"-Ywarn-unused-import",
"-Ywarn-value-discard")
}
}

publishTo <<= version.apply { v =>
val nexus = "https://oss.sonatype.org/"
Expand Down

0 comments on commit 7d7879e

Please sign in to comment.