Skip to content

Commit

Permalink
removed warnings in the build file
Browse files Browse the repository at this point in the history
  • Loading branch information
etorreborre committed Aug 28, 2013
1 parent e8a2be5 commit 229bb57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions project/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature", "-language:_")
6 changes: 3 additions & 3 deletions project/build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import Utilities._
import Defaults._

object build extends Build {
type Settings = Project.Setting[_]
type Settings = Def.Setting[_]

lazy val scoobi = Project(
id = "scoobi",
Expand All @@ -61,14 +61,14 @@ object build extends Build {

lazy val compilationSettings: Seq[Settings] = Seq(
(sourceGenerators in Compile) <+= (sourceManaged in Compile) map GenWireFormat.gen,
scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature", "-language:implicitConversions,reflectiveCalls,postfixOps,higherKinds,existentials"),
scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature", "-language:_"),
scalacOptions in Test ++= Seq("-Yrangepos")
)

lazy val testingSettings: Seq[Settings] = Seq(
testOptions := Seq(Tests.Filter(s => s.endsWith("Spec") || s.contains("guide") || Seq("Index", "All", "UserGuide", "ReadMe").exists(s.contains))),
fork in Test := true,
javaOptions in Test ++= Seq("-Xmx1g")
javaOptions in Test ++= Seq("-Xmx3g")
)

lazy val siteSettings: Seq[Settings] = ghpages.settings ++ SbtSite.site.settings ++ Seq(
Expand Down

0 comments on commit 229bb57

Please sign in to comment.