Sublime Forum

Sublime - how to strip extension in build file?

#1

I have the following build file for scss:

{
“cmd”: “C:/bin/ruby193/bin/ruby.exe”, “C:/bin/ruby193/bin/sass”, “$file”, “$file.css”, “–precision”, “5”],
“selector”: “source.scss”
}

Which works great for people who like building sass in sublime and outputs files of the format Home.scss.css. Some of our team however uses visual studio’s mindscape workbench for compilation, which from a recent update doesn’t honor custom conventions and always outputs Home.css.

How do I adjust my sublime build file so that it strips the extension and always outputs Home.css?

Cross posted to StackOverflow if you want rep: http://stackoverflow.com/questions/12535209/sublime-how-to-strip-extension-in-build-file

0 Likes