public
Description: Gitorious aims to provide a great way of doing distributed opensource code collaboration.
Homepage: http://gitorious.org/projects/gitorious
Clone URL: git://github.com/dysinger/gitorious.git
js (author)
Sun Apr 06 09:27:31 -0700 2008
commit  10489d21e3a115fe345f1e9cc3fcdf95eb2c9a16
tree    cfc77de91450cab643b6191fcbb43511c35dfbaa
parent  77de21f9a57ac3ccaf3470e1d7270a71bc468a75
gitorious / vendor / grit / Rakefile
100644 30 lines (26 sloc) 0.865 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
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")
  p.extra_deps << ['mime-types']
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