Sha256: eda225a0f1b0cad5efa025f6b89802466f4be206a38e5f307d6bfaf4dad6d4fe

Contents?: true

Size: 532 Bytes

Versions: 7

Compression:

Stored size: 532 Bytes

Contents

# encoding: UTF-8

module Tetra
  # tetra dry-run
  class DryRunCommand < Tetra::BaseCommand
    def execute
      checking_exceptions do
        if Tetra::Project.new(".").dry_run
          puts "Now dry-running, please start your build."
          puts "To run a Maven installation from the kit, use \"tetra mvn\"."
          puts "If the build succeedes end this dry run with \"tetra finish\"."
          puts "If the build does not succeed use \"tetra finish --abort\" to restore files."
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tetra-0.46.0 lib/tetra/commands/dry_run.rb
tetra-0.45.0 lib/tetra/commands/dry_run.rb
tetra-0.44.0 lib/tetra/commands/dry_run.rb
tetra-0.43.0 lib/tetra/commands/dry_run.rb
tetra-0.42.0 lib/tetra/commands/dry_run.rb
tetra-0.41.0 lib/tetra/commands/dry_run.rb
tetra-0.40.0 lib/tetra/commands/dry_run.rb