-
-
Save jeffmay/5864679 to your computer and use it in GitHub Desktop.
I updated the settings.
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
import coffeescript.Plugin.{CoffeeKeys, coffeeSettings} | |
import sbt._ | |
import sbt.Keys._ | |
object WebModule extends BaseModule { | |
val moduleName = "web" | |
val moduleVersion = "0.1" | |
val location = "web" | |
def settings = coffeeSettings ++ Seq( | |
// Add your own project settings here | |
testOptions in Test += Tests.Argument("junitxml", "console") | |
) | |
val libraries = Seq( | |
Libraries.WebJars.angularJs, | |
Libraries.WebJars.requireJs, | |
Libraries.WebJars.play, | |
Libraries.specs2 % "test", | |
Libraries.mockito % "test" | |
) | |
lazy val project = baseProject | |
override def baseProject = play | |
.Project(moduleName, moduleVersion, libraries, file(location), moduleSettings) | |
.settings( | |
// where coffee task is allowed to manage resources | |
sourceManaged in (Compile, CoffeeKeys.coffee) <<= (baseDirectory in Compile)(_ / "public"), | |
// where coffee task reads source files | |
sourceDirectory in (Compile, CoffeeKeys.coffee) <<= (sourceDirectory in Compile)(_ / "assets" / "javascripts"), | |
// where coffee task compiles javascript | |
resourceManaged in (Compile, CoffeeKeys.coffee) <<= (sourceManaged in (Compile, CoffeeKeys.coffee))(_ / "js") | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I still get the error: