Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Added support for LESS dynamic CSS#52

Closed
mekka wants to merge 5 commits intozmoazeni:masterfrom
mekka:less-support
Closed

Added support for LESS dynamic CSS#52
mekka wants to merge 5 commits intozmoazeni:masterfrom
mekka:less-support

Conversation

@mekka
Copy link

@mekka mekka commented Apr 14, 2013

All tests pass, and I added a few more tests for the CLI to verify that we can correctly parse LESS and SASS files as well as CSS. The SASS test stylesheet specifically covers the shorthand format. I also did some minor refactoring on cli.rb to make it easier to test, and bring down the complexity of the execute method.

LESS is an optional dependency, so users don't need to install the LESS gem if they're not going to use it. LESS tests are skipped if the LESS gem is not installed.

I merged all the latest changes from master before this pull request, so all the refactored stuff and bug fixes are already in.

cheers

@zmoazeni
Copy link
Owner

@mekka Thanks! I really appreciate you taking the time to put together the PR. There are a few things that I want to tweak, and I want to squash this all into one commit. So I'll probably close this PR unmerged and bring in the relevant bits. I'll give you a heads up once it is in master though.

zmoazeni added a commit that referenced this pull request Apr 14, 2013
This support behaves very similar to the SASS support. It will attempt
to compile the css prior to checking for redundancies.

For c-versions of ruby, therubyracer is required. For jruby,
therubyrhino.

More information can be found at http://lesscss.org/

refs: #52, #10
@zmoazeni
Copy link
Owner

Closing unmerged. Thanks again.

@zmoazeni zmoazeni closed this Apr 14, 2013
@mekka
Copy link
Author

mekka commented Apr 15, 2013

Cool beans. I looked at the changes you made and they all make sense. Good point on squashing.

@Keyboardist
Copy link

My English is poor, this passage is Bing translation, so there are many problems in the configuration. Does not use this site, are my reasons.Thank you, I will try to study English.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants