Home Download Buy Blog Forum Support

Sublime - how to strip extension in build file?

Sublime - how to strip extension in build file?

Postby togakangaroo on Fri Sep 21, 2012 6:40 pm

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
Posts: 2
Joined: Thu Mar 22, 2012 6:59 pm

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 18 guests