jekyll-bootstrap icon indicating copy to clipboard operation
jekyll-bootstrap copied to clipboard

Task to compile Less

Open pfig opened this issue 12 years ago • 6 comments

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 avatar Mar 11 '12 23:03 pfig

@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?

plusjade avatar Mar 24 '12 20:03 plusjade

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.

pfig avatar Mar 25 '12 08:03 pfig

https://gist.github.com/2192506

pfig avatar Mar 25 '12 09:03 pfig

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!

plusjade avatar Mar 26 '12 07:03 plusjade

@pfig, any chance you can you instruct me on using this? I added the '''_rake/lessc.rake''' to the site root. what next?

(thanks)

mushon avatar Oct 07 '14 14:10 mushon

Moving Rakefile tasks to new v 0.6.0 release.

groundh0g avatar Oct 18 '15 10:10 groundh0g