public
Rubygem
Description: The official `github` command line helper for simplifying your GitHub experience.
Homepage: http://github.com
Clone URL: git://github.com/defunkt/github-gem.git
kballard (author)
Tue Jul 01 01:23:52 -0700 2008
commit  9f7f232c2e80513be39410da93392fc8b9d47461
tree    5293cfccdc40b8776bc8f1bcd448b5a69effebb2
parent  83ee1d71c024988f510a5be7b0ce397c1524e2d2
github-gem / Rakefile
100644 38 lines (31 sloc) 1.076 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
require 'rubygems'
require 'rake'
 
begin
  require 'echoe'
 
  Echoe.new('github', '0.1.3') do |p|
    p.rubyforge_name = 'github'
    p.summary = "The official `github` command line helper for simplifying your GitHub experience."
    p.description = "The official `github` command line helper for simplifying your GitHub experience."
    p.url = "http://github.com/"
    p.author = ['Chris Wanstrath', 'Kevin Ballard']
    p.email = "chris@ozmm.org"
    p.dependencies = ["launchy"]
  end
 
rescue LoadError => boom
  puts "You are missing a dependency required for meta-operations on this gem."
  puts "#{boom.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
 
  Spec::Rake::SpecTask.new("rcov_spec") do |t|
    t.spec_files = FileList['spec/**/*_spec.rb']
    t.spec_opts = ['--color']
    t.rcov = true
    t.rcov_opts = ['--exclude', '^spec,/gems/']
  end
end