public
Rubygem
Description: Ruby/Git is a Ruby library that can be used to create, read and manipulate Git repositories by wrapping system calls to the git binary.
Homepage: http://jointheconversation.org/rubygit/
Clone URL: git://github.com/schacon/ruby-git.git
ruby-git / Rakefile
100644 30 lines (22 sloc) 0.627 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'
Gem::manage_gems
require 'rake/gempackagetask'
 
spec = eval(File.read('ruby-git.gemspec'))
 
Rake::GemPackageTask.new(spec) do |pkg|
    pkg.need_tar = true
end
 
task :default => "pkg/#{spec.name}-#{spec.version}.gem" do
    puts "generated latest version"
end
 
desc "Regenerate Documentation"
task :doc do |t|
 system('rdoc lib/ README --main README --inline-source')
end
 
desc "Upload Docs"
task :upload_docs do |t|
 system('rsync -rv --delete doc/ git.rubyforge.org:/var/www/gforge-projects/git')
end
 
desc "Run Unit Tests"
task :test do |t|
    require File.dirname(__FILE__) + '/tests/all_tests.rb'
end