-
-
Save jaymzcd/1064988 to your computer and use it in GitHub Desktop.
a git pre-commit hook for compass compiling of sass to css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# this pre-commit script uses compass to compile and compress stylesheet partials | |
compass compile wp-content/themes/mytheme/ -s compact --force --no-line-comments | |
wait $! | |
git add wp-content/themes/mytheme/style.css |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment