Rakefile for Jekyll site management

Previously I’ve used a bunch of scripts for managing post creation and site compilation tasks, but recently I decided to move over to Rake. The whole Rakefile as-it-stands is in the repo, naturally, but here’s a couple of bits I’m finding useful. I have a default task set up that runs compass, jekyll, and git commits and git pushes the result. The compass and jekyll bits are simple sh steps, but the rest is a bit more involved.