Created
June 22, 2012 06:39
-
-
Save hexx/2970811 to your computer and use it in GitHub Desktop.
A part of PlayAssetsCompiler.scala
This file contains hidden or 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
// Name: name of the compiler | |
// files: the function to find files to compile from the assets directory | |
// naming: how to name the generated file from the original file and whether it should be minified or not | |
// compile: compile the file and return the compiled sources, the minified source (if relevant) and the list of dependencies | |
def AssetsCompiler(name: String, | |
watch: File => PathFinder, | |
filesSetting: sbt.SettingKey[PathFinder], | |
naming: (String, Boolean) => String, | |
compile: (File, Seq[String]) => (String, Option[String], Seq[File]), | |
optionsSettings: sbt.SettingKey[Seq[String]]) = |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment