Sha256: ef060faccd17d509f25bc5bb48f0c8aea92ea2e9d45da554d123aad7ed7bf0d9

Contents?: true

Size: 615 Bytes

Versions: 9

Compression:

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

                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

9 entries across 9 versions & 1 rubygems

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