added gem task for easy local packaging
This commit is contained in:
parent
572e0d32fc
commit
7d3f9980d3
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
.DS_Store
|
||||
html/*
|
||||
pkg
|
||||
|
|
4
Rakefile
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)
|
||||
|
|
Loading…
Reference in a new issue