Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (20 sloc) 0.414 kB
require 'bundler'
require 'bundler/gem_tasks'
Bundler.setup(:development)
require 'rocco/tasks'
desc "Build web site"
task :site do
cmd = [
'cd site',
'../bin/stasis',
'rm -rf ../../public',
'mv public ../../',
'cd ../',
'git checkout gh-pages',
'rm -rf *.png *.html *.css *.js site',
'mv ../public/* .'
].join '&&'
`#{cmd}`
end
desc "Build Rocco Docs"
Rocco::make 'docs/'
Jump to Line
Something went wrong with that request. Please try again.