Permalink
Browse files

Rakefile fixes: Make specs the default task; add YARD as a dev depend…

…ency
  • Loading branch information...
1 parent e5f66dc commit 1ab233d3a4351a8ad2b0a4858a42fdeb7c18aae6 Tim Morgan committed May 13, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 Rakefile
View
@@ -15,6 +15,7 @@ begin
gemspec.add_dependency 'mime-types'
gemspec.add_development_dependency "rspec"
+ gemspec.add_development_dependency "yard"
end
Jeweler::RubyforgeTasks.new do |rubyforge|
rubyforge.doc_task = "rdoc"
@@ -24,6 +25,8 @@ rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end
+task :default => :spec
+
desc "Verify gem specs"
Spec::Rake::SpecTask.new do |t|
t.spec_files = FileList['spec/*.rb']

0 comments on commit 1ab233d

Please sign in to comment.