Sha256: cb3a2ef6920871b62f71daa014a8b83779b46d884832f6e922c679bcaa45fcbe
Contents?: true
Size: 554 Bytes
Versions: 1
Compression:
Stored size: 554 Bytes
Contents
# frozen_string_literal: true Cartage::CLI.extend do desc "Create a package with Cartage based on the Manifest." command %w[pack build] do |pack| pack.desc "Do not check the status of the Manifest file before packaging." pack.switch "skip-check", negatable: false pack.action do |_global, options, _args| unless options["skip-check"] || cartage.manifest.check puts fail Cartage::CLI::CustomExit.new "Manifest.txt is not up-to-date.", $?.exitstatus end cartage.build_package end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cartage-2.2.1 | lib/cartage/commands/pack.rb |