-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…. :)
- Loading branch information
Jina Bolton
committed
Jul 11, 2014
1 parent
78a5811
commit f99ee33
Showing
13 changed files
with
84 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
resources: | ||
- name: "libSass" | ||
url: "http://libsass.org/" | ||
description: "a C/C++ port of the Sass engine, that can be simple, fast, and easy to integrate." | ||
- name: "Node-sass" | ||
url: "https://www.npmjs.org/package/node-sass" | ||
description: "libSass for Node.js" | ||
- name: "Lightning fast Sass compiling with libsass, Node-sass and Grunt-sass" | ||
url: "http://benfrain.com/lightning-fast-sass-compiling-with-libsass-node-sass-and-grunt-sass/" | ||
description: "by Ben Frain, August 2013" | ||
- name: "libSass Python" | ||
url: "http://dahlia.kr/libsass-python/" | ||
description: "libSass for Python" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
``` | ||
./bin/sassc [input file] > output.css | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
``` | ||
export SASS_LIBSASS_PATH=/Users/hcatlin/path/libsass | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
title: libSass | ||
--- | ||
|
||
%p.introduction | ||
We want everyone to enjoy Sass, no matter what language they use. Sass was | ||
originally written in Ruby. | ||
= link_to "libSass", "http://libsass.org/" | ||
is a C/C++ port of the Sass engine. The point is to be simple, faster, and | ||
easy to integrate. Find out more about the project over at | ||
= succeed "." do | ||
= link_to "GitHub", "http://github.com/hcatlin/libsass" | ||
|
||
:markdown | ||
## SassC | ||
|
||
LibSass is just a library. To run the code locally (i.e. to compile your stylesheets), you need an implementer. SassC (get it?) is an implementer written in C. There are a number of other implementations of LibSass - for example Node. We encourage you to write your own port - the whole point of Libsass is that we want to bring Sass to many other languages, not just Ruby! | ||
|
||
To run the compiler on your local machine, you need to build SassC. To build SassC, you must have either a local copy of the libsass source or it must be installed into your system. For development, please use the source version. You must then setup an environment variable pointing to the LibSass folder, for example: | ||
|
||
~ partial "code-snippets/libsass-setup" | ||
|
||
%p | ||
The executable will be in the bin folder. To run it, simply try something like: | ||
|
||
~ partial "code-snippets/libsass-execute" | ||
|
||
%h2 About libSass | ||
|
||
:markdown | ||
This project is the brainchild of | ||
[Hampton Catlin](http://twitter.com/hcatlin), the original creator of Sass, | ||
and is sponsored by [Moovweb](http://moovweb.com/). | ||
[Aaron Leung](http://github.com/akhleung) from Moovweb is the primary | ||
developer. | ||
|
||
%figure | ||
= image_tag "logos/libsass.png", alt: "libSass logo" | ||
|
||
- content_for :complementary do | ||
%h3 Resources | ||
|
||
%ul | ||
- for project in data.libsass.resources | ||
%li | ||
= link_to project.name, project.url | ||
— | ||
= project.description |