Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

oddrationale/dart_libsass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated

Sass is now written in Dart! So this project is no longer needed. However, it can still be useful as an example of how to use C extensions in Dart.

libsass for Dart

libsass+dart

A Dart VM Native Extension for libsass.

This package provides Dart language bindings for the libsass library, the C version of the popular stylesheet preprocessor, Sass.

Build Instructions

Because this library contains a Dart VM Native Extension, you will need to compile the extension before using the library. Currently, the build script only supports Linux and Mac (untested):

git clone https://github.com/oddrationale/dart_libsass.git
cd dart_libsass
pub get
dart tool/build.dart

This script will pull the libsass submodule, compile libsass, and compile the extenstion. Support for Windows is coming soon!

Command Line

This package also provides a sassc compatible executable:

dart bin/sassd.dart input.scss output.css

About

A Dart VM Native Extension for libsass

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published