Class: Gjp::MoveJarsToKitCommand

Inherits:
BaseCommand
  • Object
show all
Defined in:
lib/gjp/commands/move_jars_to_kit.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

#log

Instance Method Details

#executeObject



5
6
7
8
9
10
11
12
13
14
15
# File 'lib/gjp/commands/move_jars_to_kit.rb', line 5

def execute
  checking_exceptions do
    project = Gjp::Project.new(".")

    ensure_dry_running(false, project) do
      project.purge_jars.each do |original, final|
        puts "Replaced #{original} with symlink pointing to to #{final}"
      end
    end
  end
end