Closed behaghel closed 10 years ago
Sorry, I havn't actually updated to the repo yet (I was just using this locally!)
If you want to use it, you can just clone it and do publish-local. Ill publish it on a repo when I get some more time
Works well that way. Here is what I had to do to make it work:
addSbtPlugin("com.github.mdedetrich" %% "sbt-bower" % "0.2.0")
BowerKeys.installDirectory in BowerKeys.Bower <<= (sourceDirectory in BowerKeys.Bower) (_ / "js" / "vendor")
installDirectory
and not installationDirectory
Bower
needs to be prefixed with BowerKeys.
Just like to mention, that I have finally set up a repo, so you can use standard libraries (check the updated readme for more info).
Have also updated the readme to reflect your changes (your comment about Bower
and BowerKeys
reflects the difference between using a .sbt
file and using a .scala
file, the .scala
file needs to reference objects by their namespace)
Following the doc, I have added the following to my
project/plugins.sbt
:But here is the result:
Specifically, according to the build of the project I was expecting the following to succeed but sonatype doesn't know about the mdedetrich dir:
Thanks for your work on that, can't wait to try it!