full sentence plz
[has_many_polymorphs.git] / Rakefile
blob1b7ec36dd395ce0fd66d74a255342249b76da6da
2 require 'rubygems'
3 require 'echoe'
4 require 'lib/has_many_polymorphs/rake_task_redefine_task'
6 Echoe.new("has_many_polymorphs") do |p|  
7   p.project = "fauna"
8   p.summary = "An ActiveRecord plugin for defining self-referential polymorphic associations."
9   p.url = "http://blog.evanweaver.com/pages/code#polymorphs"  
10   p.docs_host = "blog.evanweaver.com:~/www/snax/public/files/doc/"  
11   p.extra_deps = ["activerecord"]
12   p.rdoc_pattern = /polymorphs\/association|polymorphs\/class_methods|polymorphs\/reflection|README|CHANGELOG|TODO|LICENSE/    
13 end
15 desc 'Run the test suite.'
16 Rake::Task.redefine_task("test") do
17    puts "Warning! Tests must be run with the plugin installed in a functioning Rails\nenvironment."
18    system "ruby -Ibin:lib:test test/unit/polymorph_test.rb #{ENV['METHOD'] ? "--name=#{ENV['METHOD']}" : ""}"
19 end