Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 34 lines (22 sloc) 0.764 kB
ec8ae73 @tenderlove initial commit
authored
1 # -*- ruby -*-
2
3 require 'rubygems'
4 require 'hoe'
5
724e4e1 @jbarnette Rakefile and gitignore cleanup.
jbarnette authored
6 gem 'rake-compiler', '>= 0.4.1'
7 require "rake/extensiontask"
ec8ae73 @tenderlove initial commit
authored
8
724e4e1 @jbarnette Rakefile and gitignore cleanup.
jbarnette authored
9 Hoe.plugin :debugging, :doofus, :git
ec8ae73 @tenderlove initial commit
authored
10
724e4e1 @jbarnette Rakefile and gitignore cleanup.
jbarnette authored
11 Hoe.spec 'psych' do
12 developer 'Aaron Patterson', 'aaronp@rubyforge.org'
13 developer 'John Barnette', 'jbarnette@rubyforge.org'
ec8ae73 @tenderlove initial commit
authored
14
724e4e1 @jbarnette Rakefile and gitignore cleanup.
jbarnette authored
15 self.extra_rdoc_files = Dir['*.rdoc']
16 self.history_file = 'CHANGELOG.rdoc'
17 self.readme_file = 'README.rdoc'
2d31ee3 @jbarnette Switch to MiniTest.
jbarnette authored
18 self.testlib = :minitest
ec8ae73 @tenderlove initial commit
authored
19
724e4e1 @jbarnette Rakefile and gitignore cleanup.
jbarnette authored
20 extra_dev_deps << ['rake-compiler', '>= 0.4.1']
21
35fb005 @tenderlove speed improvement
authored
22 self.spec_extras = { :extensions => ["ext/psych/extconf.rb"] }
23
724e4e1 @jbarnette Rakefile and gitignore cleanup.
jbarnette authored
24 Rake::ExtensionTask.new "psych", spec do |ext|
25 ext.lib_dir = File.join(*['lib', 'psych', ENV['FAT_DIR']].compact)
26 end
ec8ae73 @tenderlove initial commit
authored
27 end
28
3a922f6 @l15n Add "." to Hoe include_dirs for Ruby 1.9.2
l15n authored
29 Hoe.add_include_dirs('.')
30
724e4e1 @jbarnette Rakefile and gitignore cleanup.
jbarnette authored
31 task :test => :compile
ec8ae73 @tenderlove initial commit
authored
32
33 # vim: syntax=ruby
Something went wrong with that request. Please try again.