This repository has been archived by the owner. It is now read-only.
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (13 sloc) 352 Bytes
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