Much like the Using Rake and Rsync for WordPress deployment post that I posted a few days back, this post is to reference a simple Rakefile I wrote to help me easily manage common development tasks when working with StaticMatic.
Rakefile features:
- Clear and generate tasks that clear and generate new styles (via Compass)
- Preview, build tasks that preview and build the StaticMatic site using the default StaticMatic commands (I hate typing staticmatic over and over and over…)
- Deploy task using Rsync that clears the styles, generates new styles, builds the site, and finally deploys the site using Rsync
I also created a StaticMatic-Bootstrap that you are welcome to “watch” or “fork” on GitHub.
It supports: Haml, Sass, Compass and jQuery out of the box and comes with said Rakefile noted in this post.



