public
Description: A route-explorer for Rails
Homepage: http://opensource.thinkrelevance.com
Clone URL: git://github.com/relevance/vasco.git
Justin Gehtland (author)
Wed May 13 17:16:27 -0700 2009
commit  e50e6331a1bc59c3f6f29b13dc62b17d9a8917c7
tree    598628df8420aeb2fb3431dcb25c32ae35031370
parent  a58de3c027640af5534f5676beb6fc0ba438db14
vasco / Rakefile
100644 31 lines (25 sloc) 0.698 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
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
desc 'Default: run unit tests.'
task :default => :test
 
 
desc 'Generate documentation for the vasco plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'Vasco'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end
 
namespace :test do
  desc 'Test the vasco plugin.'
  Rake::TestTask.new(:ruby) do |t|
    t.libs << 'lib'
    t.pattern = 'test/**/*_test.rb'
    t.verbose = true
  end
 
 
  desc 'Test JavaScript'
  task :javascripts do
    IO.popen("open test/test_extensions.html") {|io| puts io.readlines}
  end
end