Sha256: 1215da78483b4138e8882cdc9515804deb0a318628ec3f2db664419fe4160ad0

Contents?: true

Size: 844 Bytes

Versions: 4

Compression:

Stored size: 844 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,
                    run_package_managers_without_packages: true,
                    install_only: !options[:update])
                ws.export_env_sh(shell_helpers: options[:shell_helpers])
            end
        end
    end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
autoproj-2.0.0.rc37 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc36 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc35 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc34 lib/autoproj/cli/osdeps.rb