Sha256: 5147430a15cbea570809ad34eb0f42ac0d32bf88e88bb717c988f8171188f3ff

Contents?: true

Size: 779 Bytes

Versions: 18

Compression:

Stored size: 779 Bytes

Contents

require 'autoproj/cli/inspection_tool'

module Autoproj
    module CLI
        class OSDeps < InspectionTool
            def run(user_selection, options = Hash.new)
                initialize_and_load
                _, osdep_packages, resolved_selection, _ =
                    finalize_setup(user_selection,
                                   ignore_non_imported_packages: true)

                options = Kernel.validate_options options,
                    update: true,
                    shell_helpers: ws.config.shell_helpers?
                ws.install_os_packages(
                    osdep_packages,
                    install_only: !options[:update])
                ws.export_env_sh(shell_helpers: options[:shell_helpers])
            end
        end
    end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
autoproj-2.0.0.rc33 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc32 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc31 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc30 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc29 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc28 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc27 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc26 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc25 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc24 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc23 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc22 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc21 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc20 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc19 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc18 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc17 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc16 lib/autoproj/cli/osdeps.rb