Sha256: db843b8fcb0253b077c7e1fdd75375ca526cb16950022e6f8fb24fbf7a30d682

Contents?: true

Size: 773 Bytes

Versions: 9

Compression:

Stored size: 773 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)

                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

9 entries across 9 versions & 1 rubygems

Version Path
autoproj-2.0.3 lib/autoproj/cli/osdeps.rb
autoproj-2.0.2 lib/autoproj/cli/osdeps.rb
autoproj-2.0.1 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc42 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc41 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc40 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc39 lib/autoproj/cli/osdeps.rb
autoproj-2.0.0.rc38 lib/autoproj/cli/osdeps.rb