require 'rake/clean' require 'rubygems' require 'rubygems/package_task' require 'rdoc/task' Rake::RDocTask.new do |rd| rd.main = "README.rdoc" rd.rdoc_files.include("README.rdoc","lib/**/*.rb","bin/**/*") rd.title = 'Octopress' end spec = eval(File.read('octopress.gemspec')) Gem::PackageTask.new(spec) do |pkg| end require 'cucumber' require 'cucumber/rake/task' Cucumber::Rake::Task.new(:features) do |t| t.cucumber_opts = "features --format pretty -x" t.fork = false end task :default => :features