ATuin

Hack to add webapp directory in sbt-package-dir

May 21st, 2012
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.38 KB | None | 0 0
  1. // sbt-package-dist Settings
  2. seq(StandardProject.newSettings: _*)
  3.  
  4. packageDistZipName := "CFCircumflex-test.zip"
  5.  
  6. seq(webSettings :_*)
  7.  
  8. // Hack to pack webapp directory using the config settings in sbt-package-dist
  9. packageDistConfigPath <<= (sourceDirectory in Compile) { b => Some(b / "webapp") }
  10.  
  11. packageDistConfigOutputPath <<= (packageDistDir) { d => Some(d / "webapp") }
Add Comment
Please, Sign In to add comment