Sha256: a0054498c3099bef9f0a10172625503c168b95931a7d411d7d7f3a987e452cea

Contents?: true

Size: 505 Bytes

Versions: 6

Compression:

Stored size: 505 Bytes

Contents

require "autoproj/cli/base"
module Autoproj
    module CLI
        class Reconfigure < Base
            def run(args, options = Hash.new)
                ws.setup
                ws.config.reconfigure!
                options.each do |k, v|
                    ws.config.set k, v, true
                end
                ws.load_package_sets
                ws.setup_all_package_directories
                ws.finalize_package_setup
                ws.config.save
            end
        end
    end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
autoproj-2.17.0 lib/autoproj/cli/reconfigure.rb
autoproj-2.16.0 lib/autoproj/cli/reconfigure.rb
autoproj-2.15.3 lib/autoproj/cli/reconfigure.rb
autoproj-2.15.2 lib/autoproj/cli/reconfigure.rb
autoproj-2.15.1 lib/autoproj/cli/reconfigure.rb
autoproj-2.15.0 lib/autoproj/cli/reconfigure.rb