Skip to content

Instantly share code, notes, and snippets.

@markdrzy
Created August 29, 2013 09:47
Show Gist options
  • Save markdrzy/6376176 to your computer and use it in GitHub Desktop.
Save markdrzy/6376176 to your computer and use it in GitHub Desktop.
A pre-commit hook to auto-compile CSS for production with Compass.
#!/bin/bash
compass compile -c nimbus-local/config/compass-prod.rb --force httpdocs/assets/css
wait $!
git add httpdocs/assets/css/*.css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment