Last active
December 10, 2015 15:08
-
-
Save rozzy/4452558 to your computer and use it in GitHub Desktop.
Compile Sass & Slim via this sublime build. Put into `Sublime Text 2/packages/user/`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cmd": ["if [ \"$file_extension\" = \"sass\" ]; then sass --watch $file_name:../${file_base_name}.css --style compressed; elif [ \"$file_extension\" = \"slim\" ]; then slimrb -p $file_name ../$file_base_name.html; fi"], | |
"selector": "source.slim,source.sass", | |
"working_dir": "$file_path", | |
"path": "/usr/local/bin:$PATH", | |
"shell": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment