Sha256: fc4edd071f56e4b4b64e2dfb6e9021d18eee405edbfb6d488fac8af83b5676b2

Contents?: true

Size: 515 Bytes

Versions: 5

Compression:

Stored size: 515 Bytes

Contents

require 'rspec/core/rake_task'
require 'mutant'

RSpec::Core::RakeTask.new

task :default => :spec

task :mutant do
  Mutant::CLI.run(%w[-Ilib -rslippery --use rspec Slippery*])
end

require 'rubygems/package_task'
spec = Gem::Specification.load(File.expand_path('../slippery.gemspec', __FILE__))
gem = Gem::PackageTask.new(spec)
gem.define

desc "Push gem to rubygems.org"
task :push => :gem do
  sh "git tag v#{Slippery::VERSION}"
  sh "git push --tags"
  sh "gem push pkg/slippery-#{Slippery::VERSION}.gem"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slippery-0.4.2 Rakefile
slippery-0.4.1 Rakefile
slippery-0.4.0 Rakefile
slippery-0.3.0 Rakefile
slippery-0.2.0 Rakefile