Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (25 sloc) 0.558 kB
require 'bundler'
require 'bundler/gem_tasks'
require 'spec/rake/spectask'
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/'
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
end
task :default => :spec
Jump to Line
Something went wrong with that request. Please try again.