Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e56bc856b6
Fetching contributors…

Cannot retrieve contributors at this time

file 52 lines (38 sloc) 1.056 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
require 'rake'
require 'rake/rdoctask'
require 'rake/testtask'

desc "Default Task"
task :default => [ :test ]


# --- Testing --- #

desc "Run all unit tests"
Rake::TestTask.new(:test) { |t|
  t.libs << "test"
  t.test_files=Dir.glob( "test/**/*_test.rb" ).sort
  t.verbose = true
}


# --- RDoc --- #

desc 'Generate documentation for the Hobo plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'Hobo'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end


# --- Packaging and Rubyforge --- #

require 'echoe'

Echoe.new('hobo') do |p|
  p.author = "Tom Locke"
  p.email = "tom@tomlocke.com"
  p.summary = "The web app builder for Rails"
  p.url = "http://hobocentral.net/"
  p.project = "hobo"

  p.changelog = "CHANGES.txt"
  p.version = "0.8.5"

  p.dependencies = [
    'hobosupport =0.8.5',
    'hobofields =0.8.5',
    'rails >=2.2.2',
    'mislav-will_paginate >=2.2.1']
    
  p.development_dependencies = []
end
Something went wrong with that request. Please try again.