Skip to content

Commit 55d5f17

Browse files
committed
2 parents 2e2ec84 + 5290217 commit 55d5f17

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

labs/build.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@ libraryDependencies ++= Seq("joda-time" % "joda-time" % "1.6",
3030
"org.hibernate" % "hibernate-entitymanager" % "3.4.0.GA",
3131
"org.slf4j" % "slf4j-simple" % "1.4.2")
3232

33+
scalariformSettings
34+

labs/pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,22 @@
254254
</buildcommands>
255255
</configuration>
256256
</plugin>
257+
<plugin>
258+
<groupId>org.scalariform</groupId>
259+
<artifactId>scalariform-maven-plugin</artifactId>
260+
<executions>
261+
<execution>
262+
<phase>process-sources</phase>
263+
<goals>
264+
<goal>format</goal>
265+
</goals>
266+
<configuration>
267+
<rewriteArrowSymbols>true</rewriteArrowSymbols>
268+
</configuration>
269+
</execution>
270+
</executions>
271+
</plugin>
272+
257273
</plugins>
258274
</build>
259275

labs/project/plugins.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.5.2")
55

66
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.4.0")
7+
8+
addSbtPlugin("com.typesafe.sbt" % "sbt-scalariform" % "1.3.0")

0 commit comments

Comments
 (0)