Running sbt dist yields an output that looks like this:
project_dir
|
|--- target/universal
|
|
|
| --- scripts
| |
| |--- blah.bat
| |--- blah (.sh file)
|
| --- blah-1.0-SNAPSHOT.zip (entire package zipped)
How do I go about copying a file so that it ends up in the target/universal/scripts folder? Any "mappings in Universal" tricks I tried resulted in the files I was copying ending up in the zip.
An example of what didn't work:
mappings in Universal ++=(baseDirectory.value / "scripts" * "*" get) map (x => x -> { x.setExecutable(true); baseDirectory.value.toString + "/test/" + x.getName;} )