Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 28 lines (22 sloc) 0.62 kb
67b0216 @josevalim Tidy up Rakefile, generator and release 0.1.
josevalim authored
1 # encoding: UTF-8
2
183b2cf @carlosantoniodasilva Use bundler gem rake tests
carlosantoniodasilva authored
3 require 'bundler'
4 Bundler::GemHelper.install_tasks
5
b522cc9 @josevalim Initial commit.
josevalim authored
6 require 'rake/testtask'
427cdcb @carlosantoniodasilva Bundle update, fix deprecation and make `bundle console` work
carlosantoniodasilva authored
7 require 'rdoc/task'
b522cc9 @josevalim Initial commit.
josevalim authored
8
9 desc 'Default: run unit tests.'
10 task :default => :test
11
67b0216 @josevalim Tidy up Rakefile, generator and release 0.1.
josevalim authored
12 desc 'Test the show_form plugin.'
b522cc9 @josevalim Initial commit.
josevalim authored
13 Rake::TestTask.new(:test) do |t|
14 t.libs << 'lib'
15 t.libs << 'test'
16 t.pattern = 'test/**/*_test.rb'
17 t.verbose = true
18 end
19
20 desc 'Generate documentation for the show_for plugin.'
21 Rake::RDocTask.new(:rdoc) do |rdoc|
22 rdoc.rdoc_dir = 'rdoc'
23 rdoc.title = 'ShowFor'
24 rdoc.options << '--line-numbers' << '--inline-source'
67b0216 @josevalim Tidy up Rakefile, generator and release 0.1.
josevalim authored
25 rdoc.rdoc_files.include('README.rdoc')
b522cc9 @josevalim Initial commit.
josevalim authored
26 rdoc.rdoc_files.include('lib/**/*.rb')
27 end
Something went wrong with that request. Please try again.