public
Description:
Homepage:
Clone URL: git://github.com/contrast/exceptional.git
darragh (author)
Thu Sep 24 09:22:33 -0700 2009
commit  9787a7207b8a268344726c29f28dfa042b49e1a9
tree    719dc6476936a00e2d2ec5bc0ebf1e49eb34f3f5
parent  3354e8e41d9925cd946345ecd710acbde7db480d
exceptional / Rakefile
100644 42 lines (38 sloc) 1.236 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
begin
  require 'echoe'
 
  Echoe.new('exceptional', '0.0.6') do |p|
    p.rubyforge_name = 'exceptional'
    p.summary = "Exceptional is the core Ruby library for communicating with http://getexceptional.com (hosted error tracking service)"
    p.description = "Exceptional is the core Ruby library for communicating with http://getexceptional.com (hosted error tracking service)"
    p.url = "http://getexceptional.com/"
    p.author = ["Contrast"]
    p.email = "hello@contrast.ie"
    p.dependencies = ["json"]
  end
rescue LoadError => e
  puts "You are missing a dependency required for meta-operations on this gem."
  puts "#{e.to_s.capitalize}."
end
# add spec tasks, if you have rspec installed
begin
  require 'spec/rake/spectask'
  Spec::Rake::SpecTask.new("spec") do |t|
    t.spec_files = FileList['spec/**/*_spec.rb']
    t.spec_opts = ['--color']
  end
 
  task :test do
    Rake::Task['spec'].invoke
  end
 
  Spec::Rake::SpecTask.new("coverage") do |t|
    t.spec_files = FileList['spec/**/*_spec.rb']
    t.spec_opts = ['--color']
    t.rcov = true
    t.rcov_opts = ['--exclude', '^spec,/gems/']
  end
end
 
desc 'Run specs using ginger'
task :ginger do
  ARGV.clear
  ARGV << 'spec'
  load File.join(*%w[bin ginger])
end