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
Search Repo:
github-gem / Rakefile
100644 37 lines (31 sloc) 1.078 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
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