Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 9bb0fe0e9e
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (34 sloc) 1.254 kb
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
desc 'Default: run unit tests.'
task :default => :test
desc 'Test the table_builder plugin.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end
desc 'Generate documentation for the table_builder plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'TableBuilder'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "table_builder"
gem.summary = %Q{Rails builder for creating tables and calendars inspired by ActionView's FormBuilder.}
gem.description = %Q{Rails builder for creating tables and calendars inspired by ActionView's FormBuilder.}
gem.email = ""
gem.homepage = "http://github.com/maca/table_builder"
gem.authors = ["Petrik de Heus"]
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
Jump to Line
Something went wrong with that request. Please try again.