Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 24 lines (18 sloc) 0.405 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#!/usr/bin/env rake

require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)

task :default => :spec

namespace :gem do
  desc "clean generated gems"
  task :clean do
    rm_f Dir.glob("*.gem")
  end

  desc "build the gem"
  task :build => :clean do
    sh "gem build curator.gemspec"
  end

  desc "push the gem"
  task :push => :build do
    sh "gem push #{Dir.glob("*.gem").first}"
  end
end
Something went wrong with that request. Please try again.