Sha256: 14e0d077ec277874df0e9ddc937441bc0d0faadd71887637703c029ecf72b8ab

Contents?: true

Size: 568 Bytes

Versions: 4

Compression:

Stored size: 568 Bytes

Contents

require 'gemika/matrix'

namespace :matrix do

  desc "Run specs for all Ruby #{RUBY_VERSION} gemfiles"
  task :spec do
    Gemika::Matrix.from_travis_yml.each do
      system("bundle exec rspec spec")
    end
  end

  desc "Install all Ruby #{RUBY_VERSION} gemfiles"
  task :install do
    Gemika::Matrix.from_travis_yml.each do
      system('bundle install')
    end
  end

  desc "Update all Ruby #{RUBY_VERSION} gemfiles"
  task :update, :gems do |t, args|
    Gemika::Matrix.from_travis_yml.each do
      system("bundle update #{args[:gems]}")
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gemika-0.1.4 lib/gemika/tasks/matrix.rb
gemika-0.1.3 lib/gemika/matrix_tasks.rb
gemika-0.1.2 lib/gemika/matrix_tasks.rb
gemika-0.1.1 lib/gemika/matrix_tasks.rb