public
Description: New router for Rails. Tiny (200 lines fool!), quick (adding routes so fast it hurts and competes with current router otherwise), and agile (OK...it's not more agile. But it sounds cool.)
Homepage:
Clone URL: git://github.com/jeremymcanally/krauter.git
Click here to lend your support to: krauter and make a donation at www.pledgie.com !
krauter / Rakefile
100644 36 lines (30 sloc) 0.812 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
desc 'Default: run unit tests.'
task :default => :test
 
desc 'Test the krauter plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
Rake::TestTask.new(:benchmark) do |t|
  t.libs << 'lib'
  t.pattern = 'performance/**/*_test.rb'
  t.verbose = true
  t.options = '-- --benchmark'
end
 
Rake::TestTask.new(:profile) do |t|
  t.libs << 'lib'
  t.pattern = 'performance/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the krauter plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'Krauter'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end