chromePackage takes "content" from the root
Sergey80 opened this issue · 3 comments
I have multi sbt-project configuration, where myProject aggregates the chrome one
lazy val myProject= Project(id = "myProject", base = file(".")).settings(
name:="myProject",
version := Versions.binding
).aggregate(chromePlugin, server)
so then, commands:
sbt
project chromePlugin
chromePackage
would generate the \unpacked folder with "locales" and "assests" ONLY if I put those "content" folder that contains them outside - to the root of the project like this:
/Main
/content
/chromplugin
/project
- /BuildProject.scala
But I would expect to put "content" into the "chromplugin" folder and the sbt-plugin would grab proper content
you should be able to work around this by setting chromePackageContent := ...
manually. But i agree it should pick the content directory from the subprojects root.
Is it not possible just to reuse standard resources directories for chromeContent?
@antonkulaga that sounds like a good idea i will try that out.