summaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorscott Chacon <schacon@agadorsparticus.(none)>2007-11-11 17:59:18 -0800
committerscott Chacon <schacon@agadorsparticus.(none)>2007-11-11 17:59:18 -0800
commit646304a6e7c3b2c442a0a7db995629e7009c3a14 (patch)
tree0475bc78d2f805a36c91a898804e099634d8c54a /Rakefile
parent31b4f2b80616f570c83ed62d20f8b14ec5ba425b (diff)
downloadthird_party-ruby-git-646304a6e7c3b2c442a0a7db995629e7009c3a14.tar.gz
third_party-ruby-git-646304a6e7c3b2c442a0a7db995629e7009c3a14.tar.xz
third_party-ruby-git-646304a6e7c3b2c442a0a7db995629e7009c3a14.zip
added documentation and a license file
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 20aa494..fd93a28 100644
--- a/Rakefile
+++ b/Rakefile
@@ -5,7 +5,7 @@ require 'rake/gempackagetask'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = "git"
- s.version = "0.1.1"
+ s.version = "1.0.0"
s.author = "Scott Chacon"
s.email = "schacon@gmail.com"
s.summary = "A package for using Git in Ruby code."
@@ -25,6 +25,11 @@ 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 EXAMPLES --main README --inline-source')
+end
+
desc "Run Unit Tests"
task :test do |t|
require File.dirname(__FILE__) + '/tests/all_tests.rb'