summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-08-24 14:49:36 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2011-08-24 14:49:36 -0700
commit45dd295c51e2a705a0a3e6a967ef98459668f9d5 (patch)
tree1ea4aad9d98a45aae679aaf0626b51a16b89ed00 /Rakefile
parentb69bec45946efe395a42b8e03c1b19ff2de8587a (diff)
downloadpsych-45dd295c51e2a705a0a3e6a967ef98459668f9d5.tar.gz
add a test to munge the spec for inclusion in ruby-trunk
Diffstat (limited to 'Rakefile')
-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__