Sha256: 25549be7374720ef514a179d43fa1af9c4ce8ae7119f72e8d4149611eceb9866
Contents?: true
Size: 499 Bytes
Versions: 1
Compression:
Stored size: 499 Bytes
Contents
# encoding: UTF-8 module Gjp # gjp finish class FinishCommand < Gjp::BaseCommand option %w(-a --abort), :flag, "build abort, restore files as before dry-run" def execute checking_exceptions do if Gjp::Project.new(".").finish(abort?) if abort? puts "Project reverted as before dry-run." else puts "Dry-run finished." end else puts "No dry-run is in progress." end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gjp-0.39.0 | lib/gjp/commands/finish.rb |