Sha256: db9e801ca441cb2d6fe449801ebb91faf40caa584b41d6b7e2a1b688db521de1

Contents?: true

Size: 582 Bytes

Versions: 28

Compression:

Stored size: 582 Bytes

Contents

# frozen_string_literal: true

require 'eac_cli/core_ext'
require 'shellwords'

module Avm
  module EacRubyBase1
    module Sources
      module Runners
        class Bundle
          runner_with :help do
            desc 'Runs "bundle ...".'
            pos_arg :'bundle-args', repeat: true, optional: true
          end

          def run
            bundle_command.system!
          end

          def bundle_command
            runner_context.call(:source).bundle(*bundle_args)
          end

          delegate :bundle_args, to: :parsed
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
avm-eac_ruby_base1-0.35.1 lib/avm/eac_ruby_base1/sources/runners/bundle.rb
eac_tools-0.96.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundle.rb
avm-eac_ruby_base1-0.35.0 lib/avm/eac_ruby_base1/sources/runners/bundle.rb
eac_tools-0.95.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundle.rb
avm-eac_ruby_base1-0.34.1 lib/avm/eac_ruby_base1/sources/runners/bundle.rb
eac_tools-0.91.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundle.rb
avm-eac_ruby_base1-0.34.0 lib/avm/eac_ruby_base1/sources/runners/bundle.rb
eac_tools-0.91.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundle.rb
avm-eac_ruby_base1-0.33.1 lib/avm/eac_ruby_base1/sources/runners/bundle.rb
eac_tools-0.83.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundle.rb
eac_tools-0.82.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundle.rb
eac_tools-0.81.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundle.rb
avm-eac_ruby_base1-0.33.0 lib/avm/eac_ruby_base1/sources/runners/bundle.rb
eac_tools-0.80.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundle.rb
eac_tools-0.79.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundle.rb
avm-eac_ruby_base1-0.32.1 lib/avm/eac_ruby_base1/sources/runners/bundle.rb
eac_tools-0.78.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundle.rb
avm-eac_ruby_base1-0.32.0 lib/avm/eac_ruby_base1/sources/runners/bundle.rb
eac_tools-0.77.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundle.rb
eac_tools-0.77.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/runners/bundle.rb