Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (19 sloc) 0.399 kb
require 'rake/testtask'
Rake::TestTask.new do |t|
t.test_files = FileList['test/*_test.rb']
end
task :default => :test
desc "clean"
task :clean do
rm_f Dir.glob("*.gem")
end
namespace :gem do
desc "build the gem"
task :build => :clean do
sh "gem build supply_drop.gemspec"
end
desc "push the gem"
task :push => :build do
sh "gem push #{Dir.glob("*.gem").first}"
end
end
Jump to Line
Something went wrong with that request. Please try again.