Sha256: 9df12f505c6ab17348d07a96204e2db5c3b1889ae13896ba90572e165ca6bbba
Contents?: true
Size: 746 Bytes
Versions: 44
Compression:
Stored size: 746 Bytes
Contents
require 'autoproj/cli/inspection_tool' module Autoproj module CLI # Interface to patch/unpatch a package class Patcher < InspectionTool def run(packages, patch: true) initialize_and_load packages, _ = finalize_setup(packages, recursive: false, non_imported_packages: :ignore) packages.each do |package_name| pkg = ws.manifest.package_definition_by_name(package_name) if patch pkg.autobuild.importer.patch(pkg.autobuild) else pkg.autobuild.importer.patch(pkg.autobuild, []) end end end end end end
Version data entries
44 entries across 44 versions & 1 rubygems