It would be nice if less-rails generated template stylesheets as .less files. I've forked and pushed an initial attempt to this at the 'with_generator' branch of my fork.
For everyone's reference, here's the diff: torrancew@master...with_generator
(Perhaps you should send a pull request, @torrancew?)
Hm, I wonder if there is a way to get generators for LESS, but still allowing people who only want the less-rails-bootstrap gem to keep using the standard SCSS generators.
Good point. I'll investigate this further this weekend.
I started reading deep into the generator code last night and think a few things can be done. I like how others namespace theirs and I am for this vs making all things change (if you have less) installed. So stuff like less:css, etc.
Sounds interesting metaskills - I'm fairly new to Ruby and Rails. Any chance I could pick your brain on this a bit some time?
Well, all I did was just looked at the output of $ rails generate -h in the console and queued off of the asset ones. I then started digging deep into the railties source and started reading the code of everything in the generator directory while looking at what other rails gems have written. I'll put some more time into this over the weekend.
$ rails generate -h
Add generator support. Fixes #8.
So that commit should solve the generator issue. If anyone can test it out and let me know if I missed something before the next release?