diff options
author | Johannes Rudolph <johannes_rudolph@gmx.de> | 2012-10-10 12:40:55 +0200 |
---|---|---|
committer | Johannes Rudolph <johannes_rudolph@gmx.de> | 2012-10-10 12:40:55 +0200 |
commit | 6379b2abc34d242d4caf41cfeecea4ab55b79587 (patch) | |
tree | b4a0ddf9b28bdb88ad52ae093e0c9eab35d01164 /src/main/scala | |
parent | 3fb580276af6bc12861de42c0115c04549c98177 (diff) | |
download | sbt-boilerplate-6379b2abc34d242d4caf41cfeecea4ab55b79587.tar.gz sbt-boilerplate-6379b2abc34d242d4caf41cfeecea4ab55b79587.tar.bz2 sbt-boilerplate-6379b2abc34d242d4caf41cfeecea4ab55b79587.zip |
be compatible from 0.11.2 to 0.12
Diffstat (limited to 'src/main/scala')
-rw-r--r-- | src/main/scala/cc/spray/boilerplate/BoilerplatePlugin.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/cc/spray/boilerplate/BoilerplatePlugin.scala b/src/main/scala/cc/spray/boilerplate/BoilerplatePlugin.scala index df50691..41d2b65 100644 --- a/src/main/scala/cc/spray/boilerplate/BoilerplatePlugin.scala +++ b/src/main/scala/cc/spray/boilerplate/BoilerplatePlugin.scala @@ -32,7 +32,7 @@ object BoilerplatePlugin extends Plugin { def watch(sourceDirKey: SettingKey[File], filterKey: SettingKey[FileFilter], excludeKey: SettingKey[FileFilter]) = watchSources <++= (sourceDirKey, filterKey, excludeKey) map descendents def descendents(sourceDir: File, filt: FileFilter, excl: FileFilter) = - sourceDir.descendantsExcept(filt, excl).get + sourceDir.descendentsExcept(filt, excl).get def generateFromTemplates(streams: TaskStreams, sourceDir: File, targetDir: File): Seq[File] = { val files = sourceDir ** "*.template" |