You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, a directory mapping can be done in build.sbt with the following snippet (see #160 ):
mappings in Universal<++= (packageBin in Compile, target ) map { (_, target) =>valdir= target /"scala-2.10"/"api"
(dir.***) pair relativeTo(dir.getParentFile)
}
The idea behind this code is to put in the generated package an api directory with all its content. The original directory is located in target/scala-2.10/api. The target directory will be located at the pacakge root in the "api" directory.
A great enhancement would be to have a helper method simplifying the above snippet to something more comprehensive for human being, for example :
mappings in Universal++= allFilesRelativeTo(file(target /"scala-2.10"/"api"))
The text was updated successfully, but these errors were encountered:
NOTE: pull request #159 follow up.
Currently, a directory mapping can be done in build.sbt with the following snippet (see #160 ):
The idea behind this code is to put in the generated package an api directory with all its content. The original directory is located in target/scala-2.10/api. The target directory will be located at the pacakge root in the "api" directory.
A great enhancement would be to have a helper method simplifying the above snippet to something more comprehensive for human being, for example :
The text was updated successfully, but these errors were encountered: