Skip to content

Commit

Permalink
Merge pull request ceedubs#10 from fedragon/master
Browse files Browse the repository at this point in the history
Generate ctags also for scala/java test directories
  • Loading branch information
ceedubs committed Jan 12, 2015
2 parents 6884916 + 3842498 commit c5df5de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ scmInfo := Some(
)
)

scalaVersion := "2.10.0"
scalaVersion := "2.10.4"

scalacOptions ++= Seq(
"-deprecation",
Expand Down
4 changes: 2 additions & 2 deletions src/main/scala/net/ceedubs/sbtctags/SbtCtags.scala
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ object SbtCtags extends Plugin {

CtagsKeys.ctagsSrcFileFilter <<= CtagsKeys.ctagsParams(_.languages.foldLeft(NameFilter.fnToNameFilter(_ => false))((filter, lang) => filter | GlobFilter(s"*.$lang"))),

CtagsKeys.ctagsSrcDirs <<= (Keys.scalaSource in Compile, Keys.javaSource in Compile, CtagsKeys.dependencySrcUnzipDir){ (srcDir, javaSrcDir, depSrcDir) =>
Seq(srcDir, javaSrcDir, depSrcDir)
CtagsKeys.ctagsSrcDirs <<= (Keys.scalaSource in Compile, Keys.scalaSource in Test, Keys.javaSource in Compile, Keys.javaSource in Test, CtagsKeys.dependencySrcUnzipDir){ (srcDir, testDir, javaSrcDir, javaTestDir, depSrcDir) =>
Seq(srcDir, testDir, javaSrcDir, javaTestDir, depSrcDir)
},

CtagsKeys.ctagsGeneration in ThisBuild := defaultCtagsGeneration,
Expand Down

0 comments on commit c5df5de

Please sign in to comment.