Permalink
Browse files

Wire in gem_publisher.

  • Loading branch information...
1 parent 6be0004 commit 8983ef2c5dee72297bc9b6f1566e73e913c72ae8 @fatbusinessman fatbusinessman committed Jun 27, 2012
Showing with 8 additions and 0 deletions.
  1. +7 −0 Rakefile
  2. +1 −0 rummageable.gemspec
View
@@ -1,11 +1,18 @@
require 'rake/testtask'
require "bundler/gem_tasks"
+require "gem_publisher"
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['test/*_test.rb']
t.verbose = true
end
+task :publish_gem do |t|
+ gem = GemPublisher.publish_if_updated("rummageable.gemspec", :rubygems)
+ puts "Published #{gem}" if gem
+end
+
+
task :default => :test
View
@@ -18,4 +18,5 @@ Gem::Specification.new do |s|
s.add_dependency "plek"
s.add_development_dependency "rake"
s.add_development_dependency "webmock"
+ s.add_development_dependency "gem_publisher", "1.0.0"
end

0 comments on commit 8983ef2

Please sign in to comment.