Module: Crtrunner

Defined in:
lib/crtrunner.rb,
lib/crtrunner/xcode.rb,
lib/crtrunner/version.rb,
lib/crtrunner/carthage.rb

Defined Under Namespace

Classes: Carthage, Xcode

Constant Summary collapse

VERSION =
"0.1.2"

Class Method Summary collapse

Class Method Details

.runObject



9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/crtrunner.rb', line 9

def run
  puts '[INFO] Import started.'.colorize(:green)
  if xcode?
    if xcode_count == 1
      puts '[VERBOSE] Detected an Xcode project.'.colorize(:green)
    end
    Carthage::update
    Xcode::save_project xcode_project[0]
  else
    puts '[VERBOSE] No Xcode project Detected.'.colorize(:red)
  end
end