Class: Gjp::DryRunCommand
- Inherits:
-
BaseCommand
- Object
- Clamp::Command
- BaseCommand
- Gjp::DryRunCommand
- Defined in:
- lib/gjp/commands/dry_run.rb
Instance Method Summary collapse
Methods inherited from BaseCommand
#checking_exceptions, #configure_log_level, #ensure_dry_running, #format_path, #print_generation_result, #verbose=, #very_verbose=, #very_very_verbose=
Methods included from Logging
Instance Method Details
#execute ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/gjp/commands/dry_run.rb', line 5 def execute checking_exceptions do if Gjp::Project.new(".").dry_run puts "Now dry-running, please start your build." puts "To run a Maven installation from the kit, use \"gjp mvn\"." puts "If the build succeedes end this dry run with \"gjp finish\"." puts "If the build does not succeed use \"gjp finish --abort\" to restore files." end end end |