berfarah / LESS-build-sublime

Less build sytem for Sublime Text 2
Apache License 2.0
91 stars 14 forks source link

MIN.LESS.sublime-build MIA #13

Closed bishless closed 12 years ago

bishless commented 12 years ago

First of all, I <3 this package so much.

Second, I was working in ST2 last night, went to build my less file (had it set to build using MIN.LESS) and it failed out. Went looking in the menu, and now MIN.LESS is missing as a choice. Further poking around revealed that MIN.LESS.sublime-build is now missing from the package folder as well.

I see the LESS.sublime-build now has a "variants" section in it... How do I use it? I don't see the variant listed in the ST2 menu. Do I need to setup a custom keybinding?

jess-sol commented 12 years ago

With build variants you would open the command palette and look for "Build: Minify", note this will store the file as .min.css. You can set this ad a keyboard binding if you want, but I don't see the point as I don't Minify until production

bishless commented 12 years ago

Yeah... that's what I thought... but an entry like that doesn't exist in my Build menu.

jess-sol commented 12 years ago

Not the build menu, but the Command Palette (Ctrl + Shift + P), variants show up there as "Build: VARIANT NAME"

bishless commented 12 years ago

Ah! Thank you! Now just need to tweak the build config to save up a level in a CSS folder.

Awesome.