Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 24 lines (20 sloc) 0.414 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
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/'
Something went wrong with that request. Please try again.