Sha256: 2503e8bcac455a3a69f5c2d115d23ed470a2938ca303dbddc87ccc6580d48a49

Contents?: true

Size: 504 Bytes

Versions: 5

Compression:

Stored size: 504 Bytes

Contents

namespace :ci do
  desc 'Install bundled gems'
  task :bundle_install do
    require 'English'

    # `gem install bundler`
    `bundle install --local`
    next if $CHILD_STATUS.exitstatus.zero?

    attachment = {
      color: 'danger',
      fallback: 'Failure running bundle install --local',
      text: 'Failure running `bundle install --local`',
      footer: 'bundle exec rake ci:bundle_install'
    }

    @attachments ||= []
    @attachments << attachment
    puts attachment.inspect
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ndr_dev_support-3.1.3 lib/tasks/ci/bundle_install.rake
ndr_dev_support-3.1.2 lib/tasks/ci/bundle_install.rake
ndr_dev_support-3.1.1 lib/tasks/ci/bundle_install.rake
ndr_dev_support-3.1.0 lib/tasks/ci/bundle_install.rake
ndr_dev_support-3.0.0 lib/tasks/ci/bundle_install.rake