diff options
author | scott Chacon <schacon@agadorsparticus.corp.reactrix.com> | 2007-11-07 12:54:26 -0800 |
---|---|---|
committer | scott Chacon <schacon@agadorsparticus.corp.reactrix.com> | 2007-11-07 12:54:26 -0800 |
commit | f5baa11a1c82dc42ade5c291e9f061c13b66bc2f (patch) | |
tree | 932169e86228b672ef3fb119b8c7630a8e6c426b /Rakefile | |
download | third_party-ruby-git-f5baa11a1c82dc42ade5c291e9f061c13b66bc2f.tar.gz third_party-ruby-git-f5baa11a1c82dc42ade5c291e9f061c13b66bc2f.tar.xz third_party-ruby-git-f5baa11a1c82dc42ade5c291e9f061c13b66bc2f.zip |
beginning of Ruby/Git project
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..24ff322 --- /dev/null +++ b/Rakefile @@ -0,0 +1,27 @@ +require 'rubygems' +Gem::manage_gems +require 'rake/gempackagetask' + +spec = Gem::Specification.new do |s| + s.platform = Gem::Platform::RUBY + s.name = "git" + s.version = "0.1.1" + s.author = "Scott Chacon" + s.email = "schacon@gmail.com" + s.summary = "A package for using Git in Ruby code." + s.files = FileList['lib/*.rb', 'test/*'].to_a + s.require_path = "lib" + s.autorequire = "git" + s.test_files = Dir.glob('tests/*.rb') + s.has_rdoc = true + s.extra_rdoc_files = ["README"] +end + +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 + |