summaryrefslogtreecommitdiff
path: root/Rakefile
blob: 902f3f5a663627578ae4935ed7de066cefd1474b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'bundler'
require 'rubygems'
require 'rubygems/package_task'
require 'rdoc/task'

Bundler::GemHelper.install_tasks

gem_spec = eval(File.read("chef-zero.gemspec"))

RDoc::Task.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "chef-zero #{gem_spec.version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

task :test do
  sh "cd test && ruby run-pedant.rb"
end