Created
October 10, 2012 03:00
-
-
Save keiso/3862906 to your computer and use it in GitHub Desktop.
TextMate Command "Compile SCSS to CSS"
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>beforeRunningCommand</key> | |
<string>saveActiveFile</string> | |
<key>command</key> | |
<string>#!/bin/sh | |
SASS_OPTS="-t expanded --scss" | |
cd ${TM_PROJECT_DIRECTORY} | |
sass ${SASS_OPTS} "${TM_FILEPATH}":"css/${TM_FILENAME%.*}.css" | |
echo "exported css/${TM_FILENAME%.*}.css" | |
</string> | |
<key>input</key> | |
<string>document</string> | |
<key>inputFormat</key> | |
<string>text</string> | |
<key>keyEquivalent</key> | |
<string>@s</string> | |
<key>name</key> | |
<string>Compile SCSS to CSS</string> | |
<key>outputCaret</key> | |
<string>afterOutput</string> | |
<key>outputFormat</key> | |
<string>text</string> | |
<key>outputLocation</key> | |
<string>toolTip</string> | |
<key>scope</key> | |
<string>source.scss</string> | |
<key>uuid</key> | |
<string>B41C5BBF-A794-45F2-B847-088D19F124AE</string> | |
<key>version</key> | |
<integer>2</integer> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment