Rakefile in burghers-0.0.1 vs Rakefile in burghers-0.0.2
- old
+ new
@@ -1,9 +1,17 @@
require "bundler/gem_tasks"
require 'rdoc/task'
+require 'rake/testtask'
RDoc::Task.new("doc") { |rdoc|
rdoc.title = "Burghers - Yet another Open Calais gem"
rdoc.rdoc_dir = 'docs'
rdoc.rdoc_files.include('README.rdoc')
rdoc.rdoc_files.include('lib/**/*.rb')
}
+
+Rake::TestTask.new do |t|
+ t.test_files = FileList['test/*_test.rb']
+ t.verbose = true
+end
+
+task :default => :test