Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rakefile and gitignore cleanup.

  • Loading branch information...
commit 724e4e194328ae525f8811e7376e8752a162075c 1 parent 742ee7d
@jbarnette jbarnette authored
Showing with 17 additions and 16 deletions.
  1. +2 −0  .gitignore
  2. +15 −16 Rakefile
View
2  .gitignore
@@ -0,0 +1,2 @@
+lib/psych/psych.bundle
+tmp
View
31 Rakefile
@@ -3,27 +3,26 @@
require 'rubygems'
require 'hoe'
-# Make sure hoe-debugging is installed
-Hoe.plugin :debugging
+gem 'rake-compiler', '>= 0.4.1'
+require "rake/extensiontask"
-HOE = Hoe.spec 'psych' do
- developer('Aaron Patterson', 'aaronp@rubyforge.org')
- self.readme_file = 'README.rdoc'
- self.history_file = 'CHANGELOG.rdoc'
- self.extra_rdoc_files = FileList['*.rdoc']
+Hoe.plugin :debugging, :doofus, :git
- %w{ rake-compiler }.each do |dep|
- self.extra_dev_deps << [dep, '>= 0']
- end
-end
+Hoe.spec 'psych' do
+ developer 'Aaron Patterson', 'aaronp@rubyforge.org'
+ developer 'John Barnette', 'jbarnette@rubyforge.org'
-gem 'rake-compiler', '>= 0.4.1'
-require "rake/extensiontask"
+ self.extra_rdoc_files = Dir['*.rdoc']
+ self.history_file = 'CHANGELOG.rdoc'
+ self.readme_file = 'README.rdoc'
-RET = Rake::ExtensionTask.new("psych", HOE.spec) do |ext|
- ext.lib_dir = File.join(*['lib', 'psych', ENV['FAT_DIR']].compact)
+ extra_dev_deps << ['rake-compiler', '>= 0.4.1']
+
+ Rake::ExtensionTask.new "psych", spec do |ext|
+ ext.lib_dir = File.join(*['lib', 'psych', ENV['FAT_DIR']].compact)
+ end
end
-Rake::Task[:test].prerequisites << :compile
+task :test => :compile
# vim: syntax=ruby
Please sign in to comment.
Something went wrong with that request. Please try again.