summaryrefslogtreecommitdiff
path: root/vendor/supply_drop/Rakefile
blob: 666b6a4032880ec9588b7a0a6f2d1cce3b43c578 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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