Last active
August 29, 2015 14:01
-
-
Save hinaloe/3c8dd9962ac9b8676084 to your computer and use it in GitHub Desktop.
SublimeTextでなんでもかんでもコンパイルする ref: http://qiita.com/kimama1997/items/93404a6a8b8037b46084
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
Show hidden characters
{ | |
"cmd": ["coffee", "-cm", "$file"], | |
"selector": "source.coffee", | |
"osx": | |
{ | |
"path": "/usr/local/bin:$PATH" | |
}, | |
"windows": | |
{ | |
"cmd": ["coffee.cmd", "-cm", "$file"] | |
} | |
} |
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": ["lessc", "$file", "${file_path}/${file_base_name}.css", "--verbose"], | |
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", | |
"selector": "source.css.less", | |
"osx": | |
{ | |
"path": "/usr/local/bin:$PATH" | |
}, | |
"windows": | |
{ | |
"cmd": ["lessc.cmd", "$file", "${file_base_name}.css","--verbose"] | |
}, | |
"variants": [ | |
{ | |
"name": "Minify", | |
"cmd": ["lessc", "$file", "${file_path}/${file_base_name}.min.css", "-x", "--verbose","--source-map"], | |
"osx": | |
{ | |
"path": "/usr/local/bin:$PATH" | |
}, | |
"windows": | |
{ | |
"cmd": ["lessc.cmd", "$file", "${file_base_name}.min.css", "-x" , "--verbose","--source-map"] | |
} | |
} | |
] | |
} | |
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": ["sass", "--update", "$file:${file_path}/${file_base_name}.css", "--stop-on-error", "--no-cache", "--sourcemap"], | |
"selector": "source.sass, source.scss", | |
"line_regex": "Line ([0-9]+):", | |
"osx": | |
{ | |
"path": "/usr/local/bin:$PATH" | |
}, | |
"windows": | |
{ | |
"shell": "true" | |
}, | |
"variants":[ | |
{ | |
"name": "Minify", | |
"cmd": ["sass", "--update", "$file:${file_path}/${file_base_name}.min.css", "--stop-on-error", "--no-cache", "--sourcemap","--style", "compressed"], | |
"selector": "source.sass, source.scss", | |
"line_regex": "Line ([0-9]+):", | |
"osx": | |
{ | |
"path": "/usr/local/bin:$PATH" | |
}, | |
"windows": | |
{ | |
"shell": "true" | |
} | |
} | |
] | |
} |
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": ["tsc", "--noImplicitAny", "--sourcemap", "$file"], | |
"selector": "source.ts", | |
"osx": | |
{ | |
"path": "/usr/local/bin:$PATH" | |
}, | |
"windows": | |
{ | |
"cmd": ["tsc.cmd", "--noImplicitAny", "--sourcemap", "$file"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment