Cal-CS-61A-Staff/ok — pull request #157 by sharadmv (2014-09-08 23:30:54+00:00)
Title: Revert "Revert "update hooks to compile on commit""

The old file was `pre-commit.py` which ran lint. In order to compile, I need to also run `publish.py`

In order to update the hook without having everyone re-symlink, I just hackily turned `pre-commit.py` into a shell script that ran the old pylint code (`pre-commit-run.py`) and also runs `compile` which in turn runs `publish.py`.