Sha256: 528f7b4b93dc897dee983720c0c5456c7b919e0915f88d961066c9623bf515b8

Contents?: true

Size: 671 Bytes

Versions: 42

Compression:

Stored size: 671 Bytes

Contents

require 'autoproj/cli/inspection_tool'
module Autoproj
    module CLI
        class Envsh < InspectionTool
            def validate_options(_unused, options = Hash.new)
                _, options = super(_unused, options)
                options
            end

            def run(options = Hash.new)
                initialize_and_load
                finalize_setup(Array.new,
                    ignore_non_imported_packages: true)

                options = Kernel.validate_options options,
                    shell_helpers: ws.config.shell_helpers?
                ws.export_env_sh(shell_helpers: options[:shell_helpers])
            end
        end
    end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
autoproj-2.0.0.rc37 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc36 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc35 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc34 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc33 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc32 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc31 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc30 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc29 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc28 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc27 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc26 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc25 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc24 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc23 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc22 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc21 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc20 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc19 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc18 lib/autoproj/cli/envsh.rb