GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: A Gitk-like application written in RubyCocoa that looks like it belongs on a Mac. See the wiki for downloads and screenshots.
Homepage: http://alternateidea.com
Clone URL: git://github.com/Caged/gitnub.git
Click here to lend your support to: gitnub and make a donation at www.pledgie.com !
gitnub / grit / Rakefile
100644 29 lines (25 sloc) 0.832 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
require 'rubygems'
require 'hoe'
require './lib/grit.rb'
 
Hoe.new('grit', Grit::VERSION) do |p|
  p.rubyforge_name = 'grit'
  p.author = 'Tom Preston-Werner'
  p.email = 'tom@rubyisawesome.com'
  p.summary = 'Object model interface to a git repo'
  p.description = p.paragraphs_of('README.txt', 2..2).join("\n\n")
  p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[2..-1].map { |u| u.strip }
  p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
end
 
desc "Open an irb session preloaded with this library"
task :console do
  sh "irb -rubygems -r ./lib/grit.rb"
end
 
task :coverage do
  system("rm -fr coverage")
  system("rcov test/test_*.rb")
  system("open coverage/index.html")
end
 
desc "Upload site to Rubyforge"
task :site do
  sh "scp -r doc/* mojombo@grit.rubyforge.org:/var/www/gforge-projects/grit"
end