I made this shell script for use as a post-merge hook in Git that I’d like to share.
Assumptions:
You are using the SCSS flavor of SASS; even if you don’t have SASS installed on the system you’re using this on, you have it and compass installed on a machine you have SSH access to.
Installation:
- You must create a symbolic link to this in your .git/hooks directory “ln -s /path/to/git/hook/in/source/control /path/to/.git/hooks/”
- Change
theme_path
to match where your .scss file is