KKBOX / CompassApp

Compass.app helps designers compile stylesheets easily without resorting to command line interface
http://compass.kkbox.com
GNU General Public License v2.0
757 stars 89 forks source link

Command Line PATH to CompassApp for 'compass'? #117

Open netcinematics opened 11 years ago

netcinematics commented 11 years ago

Is it possible to add an Environment Variable (in Windows) pointing into Compass.App, in order to expose 'compass' command to Windows command-line?

This would help us integrate to build system.

Thanks, Clint Nash clintonnash44@gmail.com

freedog96150 commented 11 years ago

You can easily add the directory where compass is stored to the PATH environment variable. Go to Control Panel -> System -> Advanced System Settings and click on the button that says "Environment Variables". In the system variables section, click on PATH and then click the edit button, or just double-click the PATH statement, scroll to the end, add a semi-colon (!important!) then add in the full path to your Compass app. After the next reboot you should be able to type the name of the executable to run the app.

netcinematics commented 11 years ago

Thank you freedog96150, but that was not what I'm looking for. Not 'How to add a PATH variable', but rather, What is the compass executable that needs to be in the path? What file specifically will expose compass to command line? Thanks!

hlb commented 11 years ago

@JSRenaissance we will think about this feature.

freedog96150 commented 11 years ago

Don't know if this will help you but before I purchased compass.app I had installed Ruby for Windows and compass. You get a full command-line app and the benefit of Ruby. works like a charm on windows and seems to work in tandem with the compass.app with no apparent conflicts. http://compass-style.org/install/

netcinematics commented 11 years ago

Perfect gentlemen, thank you. It is good to know that this is an outstanding feature request. In the meantime I will install Windows Ruby. All the best.

emagnier commented 11 years ago

+1 for this feature. I'm also looking for a way to integrate the Sass compilation in our build process.

WadeHatler commented 11 years ago

I ran into the same problem. Installed all the Sencha Stuff on Windows (way harder than it should have been), then spent 2 hours trying to figure out how to make Compass work. I'm not a Ruby guy, but figured it shouldn't be that hard.

I finally just installed Ruby clean, then followed the instructions to install Compass using the link about 3 messages up and it all works great. Wish I had that 2 hours back. Sencha seems great, but the installer is way worse than it needs to be.