Skip to content
Browse files

added gem task for easy local packaging

  • Loading branch information...
1 parent 572e0d3 commit 7d3f9980d33ce4e9de92314ce3fa32aab2cb9da1 Jeremy Burks committed Oct 26, 2008
Showing with 5 additions and 2 deletions.
  1. +2 −1 .gitignore
  2. +3 −1 Rakefile
View
3 .gitignore
@@ -1,2 +1,3 @@
.DS_Store
-html/*
+html/*
+pkg
View
4 Rakefile
@@ -1,7 +1,7 @@
require 'rake'
require "rake/rdoctask"
require 'spec/rake/spectask'
-
+require 'rake/gempackagetask'
spec = Gem::Specification.new do |s|
s.name = "couchrest"
@@ -25,6 +25,8 @@ spec = Gem::Specification.new do |s|
s.add_dependency("extlib", ">= 0.9.6")
end
+::Rake::GemPackageTask.new(spec) { |p| p.gem_spec = spec }
+
desc "Update Github Gemspec"
task :gemspec do
skip_fields = %w(new_platform original_platform)

0 comments on commit 7d3f998

Please sign in to comment.
Something went wrong with that request. Please try again.