Description

Dynamic bindings to libsass.

Package Information

Version2.0.0 (2015-Jan-29)
Repositoryhttps://github.com/Lodin/DerelictSASS
LicenseBoost
AuthorsVlad Rindevich
Registered byVlad Rindevich
Dependencies

derelict-util

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

DerelictSASS

A dynamic binding to libsass for the D Programming Language (unofficial).

For information on how to build DerelictSASS and link it with your programs, please see the post Using Derelict at the The One With D.

Building libsass

Clone libsass from it repository:

$ git clone git://github.com/sass/libsass.git

Then make it as shared library.

$ make BUILD=shared

In the end you can install library:

$ make install BUILD=shared

Using DerelictSASS

For more information you can check libsass and sassc projects.

import derelict.sass.sass;

void main ()
{
    // Load libsass library
    DerelictSass.load ();
    
    // Now libsass functions can be called
    ...
}

Available versions

2.0.0 1.0.0 ~master