You are on page 1of 2

1 of 2

Explore

This repository

Features

Enterprise

bnlucas / SassBuilder
Code

Issues 17

Watch
Pull requests 0

Pulse

Sign up

Pricing

Star

Sign in

Fork

27

10

Graphs

Sublime Text SASS compiler based on source directory config file.


25 commits

1 branch

0 releases
Find file

bnlucas Update SassBuilder.py

3 contributors

https://github.com/bnlucas/SassBuilder.git
Download ZIP

Latest commit 04491bb on 6 Jan

CreateBuilderConfig.py

Working on ST3!

9 months ago

Default (Linux).sublime-keymap

Formatting.

3 years ago

Default (OSX).sublime-keymap

Formatting.

3 years ago

Default (Windows).sublime-keymap

Formatting.

3 years ago

Main.sublime-menu

Overhaul of the plugin.

3 years ago

README.md

readme

9 months ago

SassBuilder.py

Update SassBuilder.py

2 months ago

Side Bar.sublime-menu

Overhaul of the plugin.

3 years ago

README.md

Sass Builder
Sass Builder is a SASS compiler that reads a config file (.sassbuilder-config) stored in a sass/scss source folder. It is a JSON
file that sets .css output folder and SASS flags [cache, style, debug, line numbers, line comments].
The plugin works on post save of a .sass/.scss file in Sublime Text.

UPDATED!
This has been resting on the side burner for quite some time and it has finally received the attention it needed! This has
finally been updated to support Sublime Text 3 and it also works with Python 3.

There was an issue with the grep command being called if the system didn't have it available. This has been corrected to
search for grep first and run a pure pythonic method if it's not found in the system's PATH .
I have a small method for this which.py that mimics the Linux command which .
The .sassbuilder-config has been changed to .sassbuilder-config.json to remove the error Sublime Text 3 generates.
project_path has be added to this to allow for scanning in the entire project path when partials are saved.

Automatically runs on save.

Create .sassbuilder-config files with ease


Tools->Sass Builder Config
Ctrl+B + Ctrl+S keystroke

Right-click a folder or folders in the side bar.

The .sassbuilder-config file


{

2 of 2

"project_path": "/project/path",
"output_path": "/project/path/css",
"options": {
"cache":
true,
"debug":
false,
"line-comments": true,
"line-numbers": true,
"style":
"nested"
}

2016 GitHub, Inc.

Terms

Privacy

Security

Contact

Help

Status

API

Training

Shop

Blog

About

Pricing

You might also like