summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorSeth Vargo <sethvargo@gmail.com>2013-05-17 01:21:48 -0400
committerSeth Vargo <sethvargo@gmail.com>2013-05-19 18:09:05 -0500
commit09fd07ba1b3ee51ef5703df25976248a740c440b (patch)
treef0b81642a34eebdcaac32b37344aae4760fcf17b /Rakefile
parent06aca476204997920737af2a7e1f8d169485ef1f (diff)
downloadchef-zero-09fd07ba1b3ee51ef5703df25976248a740c440b.tar.gz
Cleanup Rakefile
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile15
1 files changed, 2 insertions, 13 deletions
diff --git a/Rakefile b/Rakefile
index 78705b6..3ce8193 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,18 +1,7 @@
require 'bundler'
-require 'rubygems'
-require 'rubygems/package_task'
-require 'rdoc/task'
+require 'bundler/gem_tasks'
-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
+require 'chef_zero/version'
task :spec do
sh 'ruby spec/run.rb'