Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (26 sloc) 725 Bytes
require 'hoe'
Hoe.plugin :doofus, :git
Hoe.spec 'rubygems-mirror' do
developer('James Tucker', 'jftucker@gmail.com')
license "MIT"
extra_dev_deps << %w[minitest ~>5.7]
extra_deps << %w[net-http-persistent ~>2.9]
self.extra_rdoc_files = FileList["**/*.rdoc"]
self.history_file = "CHANGELOG.rdoc"
self.readme_file = "README.rdoc"
self.testlib = :minitest
end
namespace :mirror do
desc "Run the Gem::Mirror::Command"
task :update do
$:.unshift 'lib'
require 'rubygems/mirror/command'
mirror = Gem::Commands::MirrorCommand.new
mirror.execute
end
end
namespace :test do
task :integration do
sh Gem.ruby, '-Ilib', '-rubygems', '-S', 'gem', 'mirror'
end
end
Something went wrong with that request. Please try again.