jekyll-bootstrap
jekyll-bootstrap copied to clipboard
Task to compile Less
Hi,
I've added a task to compile Less (which I assume will be at the same level as the css directory for the theme).
I'm not 100% happy with having to edit the Rakefile to set the theme, but hey, this is for hackers, right?
Thank you so much for your work in JB, I now have a company website that doesn't suck :)
Cheers,
Pedro
@pfig this looks great for LESS users but I can only require a gem dependency if it significantly a part of a core feature.
What you can do is take everything you've written here and add it to its own file then load it in using this line: https://github.com/plusjade/jekyll-bootstrap/blob/master/Rakefile#L308
Basically any files in _rake
with the extension of .rake
will get loaded into the Rakefile environment. Your feature is the perfect use case.
If and when you get this in please repost here. Then I'll add a note about it in the documentation website so users can download your code.
What do you think?
Oh wow, I hadn't noticed that before, talk about looking at a tree and missing the forest :)
Yes, that sounds good, thank you! I'll create a gist and post the link here later today.
https://gist.github.com/2192506
Thanks for the quick work, @pfig . I will get this properly documented on http://jekyllbootstrap.com as soon as I can. Once it's documented and referenced, I'll close the issue by providing the link.
I appreciate you taking the time to contribute - thanks!
@pfig, any chance you can you instruct me on using this? I added the '''_rake/lessc.rake''' to the site root. what next?
(thanks)
Moving Rakefile tasks to new v 0.6.0 release.