Skip to content
Browse files

Changes for sbt 0.12.0.

  • Loading branch information...
1 parent 2783d34 commit 62a09373a48ef0cb378663cc11ada369c9c95fb7 Heiko Seeberger committed Jun 9, 2012
Showing with 4 additions and 2 deletions.
  1. +3 −1 project/plugins.sbt
  2. +1 −1 src/main/scala/com/typesafe/sbtscalariform/ScalariformPlugin.scala
View
4 project/plugins.sbt
@@ -1,2 +1,4 @@
-addSbtPlugin("com.typesafe.sbtscalariform" % "sbtscalariform" % "0.3.1")
+resolvers += Classpaths.typesafeSnapshots
+
+addSbtPlugin("com.typesafe.sbtscalariform" % "sbtscalariform" % "0.5.0-SNAPSHOT")
View
2 src/main/scala/com/typesafe/sbtscalariform/ScalariformPlugin.scala
@@ -98,7 +98,7 @@ private object Scalariform {
cacheDirectory: File,
streams: TaskStreams) = {
try {
- val files = sourceDirectories.descendentsExcept(includeFilter, excludeFilter).get.toSet
+ val files = sourceDirectories.descendantsExcept(includeFilter, excludeFilter).get.toSet
val cache = cacheDirectory / "scalariform"
val logFun = log("%s(%s)".format(Project.display(ref), configuration), streams.log) _
handleFiles(files, cache, logFun("Formatting %s %s ..."), performFormat(preferences))

0 comments on commit 62a0937

Please sign in to comment.
Something went wrong with that request. Please try again.