Sha256: a7a930983f8bdc36649534f942d97cfd94db6ece7a8688916309df8bd06960cc
Contents?: true
Size: 1.03 KB
Versions: 1
Compression:
Stored size: 1.03 KB
Contents
require 'rubygems' require 'echoe' require 'rake' require 'rake/testtask' require 'rake/rdoctask' desc 'Default: run unit tests.' task :default => :test desc 'Test the message_block plugin.' Rake::TestTask.new(:test) do |t| t.libs << 'lib' t.libs << 'test' t.pattern = 'test/**/*_test.rb' t.verbose = true end desc 'Generate documentation for the message_block plugin.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'MessageBlock' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README') rdoc.rdoc_files.include('lib/**/*.rb') end Echoe.new('message_block', '0.1.0') do |p| p.description = "Handle multiple flash messages and ActiveRecord validation errors with ease." p.url = "http://github.com/railsgarden/message_block" p.author = "Ben Hughes" p.email = "ben@railsgarden.com" p.ignore_pattern = ["tmp/*", "script/*"] p.development_dependencies = [] end Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
railsgarden-message_block-0.1.0 | Rakefile |