Skip to content
This repository
Newer
Older
100644 27 lines (22 sloc) 0.628 kb
1551fc1b » morgoth
2010-06-18 require actionpack, activemodel 3.0.0.beta4 in tests
1 # encoding: UTF-8
97d7cf9e » carlosantoniodasilva
2011-02-06 There is no need to require rake inside the rakefile
2
554dcdff » carlosantoniodasilva
2011-02-06 Add bundler gem rake tasks
3 require 'bundler'
4 Bundler::GemHelper.install_tasks
5
a7d0cc21 » carlosantoniodasilva
2009-11-18 Initial commit.
6 require 'rake/testtask'
be8f4c31 » rafaelfranca
2011-08-10 Remove rake warnings
7 require 'rdoc/task'
a7d0cc21 » carlosantoniodasilva
2009-11-18 Initial commit.
8
9 desc 'Default: run unit tests.'
10 task :default => :test
11
12 desc 'Test the simple_form plugin.'
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 simple_form plugin.'
21 Rake::RDocTask.new(:rdoc) do |rdoc|
22 rdoc.rdoc_dir = 'rdoc'
23 rdoc.title = 'SimpleForm'
24 rdoc.options << '--line-numbers' << '--inline-source'
c8c842c7 » rejeep
2011-01-06 README file is an RDoc file.
25 rdoc.rdoc_files.include('README.rdoc')
a7d0cc21 » carlosantoniodasilva
2009-11-18 Initial commit.
26 rdoc.rdoc_files.include('lib/**/*.rb')
97d7cf9e » carlosantoniodasilva
2011-02-06 There is no need to require rake inside the rakefile
27 end
Something went wrong with that request. Please try again.