Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Perl bindings for libsass (CSS::Sass)
C Perl XS CSS

README.md

CSS::Sass

Compile .scss and .sass files using libsass

CSS::Sass provides a perl interface to libsass, a fairly complete Sass compiler written in C++. It is currently somewhere around ruby sass 3.2/3.3 feature parity and heading towards 3.4. It can compile .scss and .sass files.

Installation

Build Status Coverage Status CPAN version

To install this module type the following:

perl Build.PL
./Build verbose=1
./Build test verbose=1
./Build install verbose=1

On windows you may need to install Strawberry Perl.

Documentation

Before installing:

perldoc lib/CSS/Sass.pm

After installing:

man CSS::Sass

Or view converted markdown version

Dependencies

This module requires these other modules and libraries:

  • Module::Build
  • Test::More

Command line utility

psass [options] [ path_in | - ] [ path_out | - ]
-v, --version                 print version
-h, --help                    print this help
-w, --watch                   start watchdog mode
-p, --precision               precision for float output
-o, --output-file=file        output file to write result to
-t, --output-style=style      output style [nested|compressed]
-L, --plugin-path=path        plugin load path (repeatable)
-I, --include-path=path       sass include path (repeatable)
-c, --source-comments         enable source debug comments
-e, --source-map-embed        embed source-map in mapping url
-s, --source-map-contents     include original contents
-m, --source-map-file=file    create and write source-map to file
    --no-source-map-url       omit sourceMappingUrl from output

Copyright And Licence

Copyright © 2013 by David Caldwell
Copyright © 2014 by Marcel Greter

This library is released under the MIT license.

Something went wrong with that request. Please try again.