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.601 kb
1551fc1 @morgoth require actionpack, activemodel 3.0.0.beta4 in tests
morgoth authored
1 # encoding: UTF-8
97d7cf9 @carlosantoniodasilva There is no need to require rake inside the rakefile
carlosantoniodasilva authored
2
554dcdf @carlosantoniodasilva Add bundler gem rake tasks
carlosantoniodasilva authored
3 require 'bundler'
4 Bundler::GemHelper.install_tasks
5
a7d0cc2 @carlosantoniodasilva Initial commit.
carlosantoniodasilva authored
6 require 'rake/testtask'
be8f4c3 @rafaelfranca Remove rake warnings
rafaelfranca authored
7 require 'rdoc/task'
a7d0cc2 @carlosantoniodasilva Initial commit.
carlosantoniodasilva authored
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.'
caf9c99 @carlosantoniodasilva Fix rdoc generation and remove warnings, add rdoc dir to gitignore
carlosantoniodasilva authored
21 RDoc::Task.new(:rdoc) do |rdoc|
a7d0cc2 @carlosantoniodasilva Initial commit.
carlosantoniodasilva authored
22 rdoc.rdoc_dir = 'rdoc'
23 rdoc.title = 'SimpleForm'
caf9c99 @carlosantoniodasilva Fix rdoc generation and remove warnings, add rdoc dir to gitignore
carlosantoniodasilva authored
24 rdoc.options << '--line-numbers'
25 rdoc.rdoc_files.include('README.md')
a7d0cc2 @carlosantoniodasilva Initial commit.
carlosantoniodasilva authored
26 rdoc.rdoc_files.include('lib/**/*.rb')
97d7cf9 @carlosantoniodasilva There is no need to require rake inside the rakefile
carlosantoniodasilva authored
27 end
Something went wrong with that request. Please try again.