r/rust•11 yr. agostebalienPost commit hook (git) to update documentation in a gh-pages branch.gist.github.com/Stebalien/d4a32c4abc03376db903gist.github.comPosted Jan 24, 2015, 10:24 PM UTC113ShareSave
It shouldn't eat your babies but it might so read it over and backup before using.
Looks like
mktemp -disn't valid on Mac (at least) without a prefix.I've put this in a git repo. It should now work on OSX (please test carefully first, I don't own a Mac), and will also create the gh-pages branch if it doesn't exist. https://github.com/Stebalien/rust-git-hooks