sasspiler

command module
v0.1.1-0...-fb6f0c3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2019 License: MIT Imports: 2 Imported by: 0

README

Sasspiler

Sasspiler is written in golang to transpile easily .scss files to .css.
It uses wellington/go-libsass.

Installation with go get

This method require golang.

go get github.com/dev2choiz/sasspiler

The command above will generate sasspiler binary in $GOPATH\bin

Installation with docker-compose

git clone git@github.com:dev2choiz/sasspiler.git
cd sasspiler
docker-compose up --build

The sasspiler binary will be generated in ./bin Then :

cp ./bin/sasspiler $GOPATH/bin/

Usage

sasspiler --source=/absolute/scss/dir --dest=/absolute/css/dir --importDir=/absolute/scss/dir1,/absolute/scss/dir2 --verbose

or

sasspiler -s=/absolute/scss/dir -d=/absolute/css/dir -i=/absolute/scss/dir1,/absolute/scss/dir2 -v

--importDir argument can be ignored if there is not @import in your scss to transpile.

You can also transpile a unique file, in order for example to configure the file watcher of your IDE.

sasspiler --source=/path/to/file.scss --dest=/path/to/destination/file.css --importDir=/absolute/scss/dir1,/absolute/scss/dir2 --verbose

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL