foca / tinder forked from collectiveidea/tinder

Tinder is an Ruby API for interfacing with Campfire, the 37Signals chat application.

This URL has Read+Write access

tinder / Rakefile
100644 40 lines (35 sloc) 1.162 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
require 'rubygems'
require 'hoe'
begin
  require 'spec/rake/spectask'
rescue LoadError
  puts 'To use rspec for testing you must install rspec gem:'
  puts '$ sudo gem install rspec'
  exit
end
require File.join(File.dirname(__FILE__), 'lib', 'tinder', 'version')
 
# RDOC_OPTS = ['--quiet', '--title', "Tinder",
# "--opname", "index.html",
# "--line-numbers",
# "--main", "README",
# "--inline-source"]
#
# Generate all the Rake tasks
 
hoe = Hoe.new('tinder', ENV['VERSION'] || Tinder::VERSION::STRING) do |p|
  p.rubyforge_name = 'tinder'
  p.summary = "An (unofficial) Campfire API"
  p.description = "An API for interfacing with Campfire, the 37Signals chat application."
  p.author = 'Brandon Keepers'
  p.email = 'brandon@opensoul.org'
  p.url = 'http://tinder.rubyforge.org'
  p.test_globs = ["test/**/*_test.rb"]
  p.changes = p.paragraphs_of('CHANGELOG.txt', 0..1).join("\n\n")
  p.extra_deps << ['hpricot']
end
 
desc "Run the specs under spec"
Spec::Rake::SpecTask.new do |t|
  t.spec_opts = ['--options', "spec/spec.opts"]
  t.spec_files = FileList['spec/**/*_spec.rb']
end
 
desc "Default task is to run specs"
task :default => :spec