Created
February 10, 2014 13:41
-
-
Save josephpconley/8916138 to your computer and use it in GitHub Desktop.
Trying to get custom packaging to work...to no avail
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
lazy val CustomPackage = config("custompackage") extend(Compile) describedAs("Custom package configuration") | |
mappings in (CustomPackage, packageBin) ~= { (ms: Seq[(File, String)]) => | |
ms filter { | |
case (file, toPath) => { | |
val shouldInclude = toPath.startsWith("models") | |
println("===========" + file + " " + toPath + " " + shouldInclude) | |
shouldInclude | |
} | |
} | |
} | |
lazy val root = project in file(".") overrideConfigs (CustomPackage) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment