Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A C/C++ implementation of a Sass compiler

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
COPYING
NotificationsYou must be signed in to change notification settings

sass/libsass

Currently maintained by Marcel Greter (@mgreter) and Michael Mifsud (@xzyfer)Originally created by Aaron Leung (@akhleung) and Hampton Catlin (@hcatlin)

GitHub CIWindows CICoverage StatusPercentage of issues still openAverage time to resolve an issueBountysource

Warning:LibSass is deprecated.While it will continue to receive maintenance releases indefinitely, there are noplans to add additional features or compatibility with any new CSS or Sass features.Projects that still use it should move ontoDart Sass.

LibSass is just a library!If you want to use LibSass to compile Sass, you need an implementer. Someimplementations are only bindings into other programming languages. But most alsoship with a command line interface (CLI) you can use directly. There is alsoSassC, which is the official lightweightCLI tool built by the same people as LibSass.

Excerpt of Supported Implementations:

This list does not say anything about the quality of either the listed or not listedimplementations!The authors of the listed projects above are just known to work regularly together with LibSass developers.

About

LibSass is a C++ port of the original Ruby Sass CSS compiler with aC API.We coded LibSass with portability and efficiency in mind. You can expect LibSass to be a lotfaster than Ruby Sass and on par or faster than the best alternative CSS compilers around.

Developing

As noted above, the LibSass repository does not contain any binaries or other way to executeLibSass. Therefore, you need an implementer to develop LibSass. Easiest is to start withthe officialSassC CLI wrapper. It isguaranteed to compilewith the latest code in LibSass master, since it is also used in the CI process. There is nolimitation here, as you may use any other LibSass implementer to test your LibSass branch!

Testing

Since LibSass is a pure library, tests are run through theSass-Specproject using theSassC CLI wrapper. To run the tests against LibSass whiledeveloping, you can run./script/spec. This will clone SassC and Sass-Spec under the project folder andthen run the Sass-Spec test suite. You may want to update the clones to ensure you have the latest version.Note that the scripts in the./script folder are mainly intended for our CI needs.

Building

To build LibSass you need GCC 4.7+ or Clang/LLVM. If your OS is older, you may need to upgradethem first (or install clang as an alternative). On Windows, you need MinGW with GCC 4.7+ or VS 2013Update 4+. It is also possible to build LibSass with Clang/LLVM on Windows with various build chainsand/or command line interpreters.

See thebuild docs for further instructions!

Compatibility

For all intents and purposes LibSass is fully compatible with the Sass language spec. Any knowndifferences can be found as open issues.

About Sass

Sass is a CSS pre-processor language to add on exciting, new, awesome features to CSS. Sass wasthe first language of its kind and by far the most mature and up to date codebase.

Sass was originally conceived of by the co-creator of this library, Hampton Catlin (@hcatlin).Most of the language has been the result of years of work by Natalie Weizenbaum (@nex3) andChris Eppstein (@chriseppstein).

For more information about Sass itself, please visithttps://sass-lang.com

Initial development of LibSass by Aaron Leung and Hampton Catlin was supported byMoovweb.

Licensing

OurMIT license is designed to be as simple and liberal as possible.


[8]ページ先頭

©2009-2025 Movatter.jp