summaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile27
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
+