Sha256: 600cd1c2d6efcdb6d9afc71b95764d21fcd6ce37e45791cc8f81859c8d2a08c8

Contents?: true

Size: 1007 Bytes

Versions: 1

Compression:

Stored size: 1007 Bytes

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'echoe'

Echoe.new("watchtower", "0.1.2") do |p|
  p.description = "An exception logger for Rails 2.3"
  p.url = "http://github.com/joshuaclayton/watchtower"
  p.author = "Joshua Clayton"
  p.email = "joshua.clayton@gmail.com"
  p.ignore_pattern = ["tmp/*"]
  p.development_dependencies = ["activesupport >= 2.3.0", "will_paginate >= 2.3.4"]
end

desc 'Default: run unit tests.'
task :default => :test

desc 'Test the watchtower 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 watchtower plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Watchtower'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each {|rakefile| load rakefile }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
joshuaclayton-watchtower-0.1.2 Rakefile