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.rc17 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc16 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc15 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc14 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc13 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc12 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc11 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc10 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc9 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc8 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc6 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc5 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc4 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc3 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc2 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.rc1 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.b7 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.b6 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.b5 lib/autoproj/cli/envsh.rb
autoproj-2.0.0.b4 lib/autoproj/cli/envsh.rb