Sha256: 8aff1c712aa6d926795e085bc202eb7e6a5000ffdf451b14d703d8c21673e2ba

Contents?: true

Size: 583 Bytes

Versions: 7

Compression:

Stored size: 583 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

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

task default: :spec

namespace :spec do
  task :all do
    Dir['gemfiles/*'].reject { |p| p.end_with?('.lock') }.each do |gemfile|
      command = %(BUNDLE_GEMFILE=#{gemfile} bundle exec rspec)
      puts command
      system(command)
    end
  end
end

namespace :gemfiles do
  task :update do
    Dir['gemfiles/*'].reject { |p| p.end_with?('.lock') }.each do |gemfile|
      command = %(BUNDLE_GEMFILE=#{gemfile} bundle update)
      puts command
      system(command)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pubsubstub-0.3.0 Rakefile
pubsubstub-0.2.2 Rakefile
pubsubstub-0.2.1 Rakefile
pubsubstub-0.2.0 Rakefile
pubsubstub-0.1.3 Rakefile
pubsubstub-0.1.2 Rakefile
pubsubstub-0.1.1 Rakefile