Module: Tomo::Plugin::Bundler::Helpers

Defined in:
lib/tomo/plugin/bundler/helpers.rb

Instance Method Summary collapse

Instance Method Details

#bundle(*args, **opts) ⇒ Object



5
6
7
8
9
# File 'lib/tomo/plugin/bundler/helpers.rb', line 5

def bundle(*args, **opts)
  prepend("bundle") do
    run(*args, **opts, default_chdir: paths.release)
  end
end

#bundle?Boolean

Returns:

  • (Boolean)


11
12
13
14
# File 'lib/tomo/plugin/bundler/helpers.rb', line 11

def bundle?(*, **)
  result = bundle(*, **, raise_on_error: false)
  result.success?
end