Sha256: 9dff1430f818ce608aed717ec8cc8bcb228021b9d38e44ef6eae5192ffa3ccac

Contents?: true

Size: 918 Bytes

Versions: 65

Compression:

Stored size: 918 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
require 'rake'
require 'rake/gempackagetask'
require 'cucumber/rake/task'
require 'rspec/core/rake_task'

desc 'Default: run all tests'
task :default => [:spec, :cucumber]

Cucumber::Rake::Task.new(:cucumber) do |t|
  t.fork = true
  t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')]
end

RSpec::Core::RakeTask.new do |t|
  t.pattern = "spec/**/*_spec.rb"
  t.rspec_opts = "--format progress"
end

eval("$specification = begin; #{IO.read('saucy.gemspec')}; end")
Rake::GemPackageTask.new($specification) do |package|
  package.need_zip = true
  package.need_tar = true
end

gem_file = "pkg/#{$specification.name}-#{$specification.version}.gem"

desc "Build and install the latest gem"
task :install => :gem do
  sh("gem install --local #{gem_file}")
end

desc "Build and release the latest gem"
task :release => :gem do
  sh("gem push #{gem_file}")
end

Version data entries

65 entries across 65 versions & 2 rubygems

Version Path
saucy-0.10.10 Rakefile
saucy-0.10.9 Rakefile
saucy-0.10.8 Rakefile
saucy-0.10.7 Rakefile
saucy-0.10.6 Rakefile
saasy-0.0.2.alpha3 Rakefile
saasy-0.0.2.alpha2 Rakefile
saasy-0.0.2.alpha1 Rakefile
saucy-0.10.5 Rakefile
saucy-0.10.4 Rakefile
saucy-0.10.3 Rakefile
saucy-0.10.2 Rakefile
saucy-0.10.1 Rakefile
saucy-0.10.0 Rakefile
saucy-0.9.1 Rakefile
saucy-0.9.0 Rakefile
saucy-0.8.5 Rakefile
saucy-0.8.4 Rakefile
saucy-0.8.3 Rakefile
saasy-0.0.1 Rakefile