chlorinejs / lein-bower

Leiningen plugin for managing Bower dependencies in Clojure projects
66 stars 13 forks source link

Integrate wiredep #9

Closed brendanator closed 10 years ago

brendanator commented 10 years ago

I wanted to use wiredep to automatically inject my bower dependencies into my html files

It requires the bower.json files to exist when run so this had to happen during lein bower install when the temporary files have been generated

myguidingstar-zz commented 10 years ago

Sorry @brendanator, I don't think wiredep is generic enough to be directly supported in lein-bower. There can be many of such bower helper utilities. Skimming through wiredep's doc, I can see it works with Bower Hooks. Change project->bowerrc1 function to support :scripts key and you're free to go. Other wiredep-like tools will benefit from that, I hope.

Pull requests are always welcomed.