Created
August 20, 2010 14:04
-
-
Save mads-hartmann/540381 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sbt._ | |
class Project(info: ProjectInfo) extends DefaultProject(info) | |
{ | |
lazy val sctags = compileWithSctags | |
protected def compileWithSctags = task { | |
val compilerConfig = new MainCompileConfig { | |
override def baseCompileOptions = CompileOption("-Xplugin:sctags_2.8.0.Beta1-RC2-1.0.jar") :: super.baseCompileOptions.toList | |
} | |
new CompileConditional(compilerConfig, buildCompiler).run | |
} dependsOn(clean) describedAs("Prepare compiler to run with sctags plugin") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment