Class: Gjp::InitCommand

Inherits:
BaseCommand show all
Defined in:
lib/gjp/commands/init.rb

Overview

gjp init

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



6
7
8
9
10
11
12
13
# File 'lib/gjp/commands/init.rb', line 6

def execute
  checking_exceptions do
    Gjp::Project.init(".")
    puts "Project inited."
    puts "Add sources to src/<package name>, binary dependencies to kit/."
    puts "When you are ready to test a build, use \"gjp dry-run\"."
  end
end