Permalink
Browse files

clean up rake tasks

  • Loading branch information...
1 parent dd3ff17 commit d23a33193c65710fab977d9e2bfaec0f5ef160e9 @clemens committed Oct 4, 2011
Showing with 8 additions and 18 deletions.
  1. +8 −3 Rakefile
  2. +0 −8 tasks/documentation.rb
  3. +0 −7 tasks/testing.rb
View
@@ -1,9 +1,14 @@
require 'rake'
require 'rake/testtask'
-require 'rake/rdoctask'
+require 'rdoc/task'
-require 'tasks/documentation'
-require 'tasks/testing'
+desc 'Test the later_dude gem.'
+Rake::TestTask.new(:test) do |t|
+ t.libs << 'lib'
+ t.libs << 'test'
+ t.pattern = 'test/*_test.rb'
+ t.verbose = true
+end
desc 'Default: run unit tests.'
task :default => :test
View
@@ -1,8 +0,0 @@
-desc 'Generate documentation for the later_dude plugin.'
-Rake::RDocTask.new(:rdoc) do |rdoc|
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = 'LaterDude'
- rdoc.options << '--line-numbers' << '--inline-source'
- rdoc.rdoc_files.include('README')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
View
@@ -1,7 +0,0 @@
-desc 'Test the later_dude plugin.'
-Rake::TestTask.new(:test) do |t|
- t.libs << 'lib'
- t.libs << 'test'
- t.pattern = 'test/**/*_test.rb'
- t.verbose = true
-end

0 comments on commit d23a331

Please sign in to comment.