Does anyone know how to create a Sublime Text build system that will scan through a project and minify all “scripts.js” and “styles.css” files into “scripts.min.js” and “styles.min.css”?
I already have css minification working through compass, and can manually minify the js through a plugin, but I’d like the option of just “pressing a button” and having it all done automatically (especially on projects where compass isn’t used).
I’m pretty sure this can be done, but I have no idea how to do it after looking at the documentation, so any help or insight would be greatly appreciated. Thanks!