Created
October 11, 2011 13:31
-
-
Save alexsparrow/1278077 to your computer and use it in GitHub Desktop.
Git post-receive hook for building thesis
This file contains hidden or 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
#. /usr/share/doc/git-core/contrib/hooks/post-receive-email | |
#export GEM_HOME=/home/hep/as1604/.gems/ | |
git checkout -f | |
cd $HOME/Research/thesis_workdir | |
cp -r packages/* ~/texmf | |
texhash $HOME/texmf | |
#ruby -I ~/.rubygem/lib -I ~/lib64/ruby/ ~/.gems/bin/rake pdf | |
source ~/.thesis_env/bin/activate | |
scons pdf | |
cp thesis.pdf ~/public_html/thesis/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment