summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rakefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 87cf8d6..f2ad8b4 100644
--- a/Rakefile
+++ b/Rakefile
@@ -13,7 +13,7 @@ require "rake/extensiontask"
Hoe.plugin :debugging, :doofus, :git, :gemspec
-Hoe.spec 'psych' do
+$hoe = Hoe.spec 'psych' do
developer 'Aaron Patterson', 'aaron@tenderlovemaking.com'
self.extra_rdoc_files = Dir['*.rdoc']
@@ -37,6 +37,11 @@ Hoe.add_include_dirs('.:lib/psych')
task :test => :compile
+task :hack_spec do
+ $hoe.spec.extra_rdoc_files.clear
+end
+task 'core:spec' => [:hack_spec, 'gem:spec']
+
desc "merge psych in to ruby trunk"
namespace :merge do
basedir = File.expand_path File.dirname __FILE__