Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dpsoft committed Feb 22, 2014
1 parent 9a57c4f commit dd508c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions project/Settings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import sbtrelease.ReleasePlugin._
import com.typesafe.sbt.SbtScalariform
import com.typesafe.sbt.SbtScalariform.ScalariformKeys
import Publish.{settings => publishSettings}
import spray.revolver.RevolverPlugin.Revolver._
import scalariform.formatter.preferences._

object Settings {

Expand All @@ -25,15 +27,13 @@ object Settings {
"-Xlog-reflective-calls"
)) ++ publishSettings ++ releaseSettings

import spray.revolver.RevolverPlugin.Revolver._
lazy val revolverSettings = Revolver.settings ++ seq(reJRebelJar := "~/.jrebel/jrebel.jar")

lazy val revolverSettings = Revolver.settings

lazy val formatSettings = SbtScalariform.scalariformSettings ++ Seq(
ScalariformKeys.preferences in Compile := formattingPreferences,
ScalariformKeys.preferences in Test := formattingPreferences
)

import scalariform.formatter.preferences._
def formattingPreferences =
FormattingPreferences()
.setPreference(RewriteArrowSymbols, true)
Expand Down

0 comments on commit dd508c7

Please sign in to comment.