Class: Pod::Command::Catalyst::Validate

Inherits:
Pod::Command::Catalyst show all
Defined in:
lib/cocoapods-catalyst-support/command/catalyst/validate.rb

Instance Method Summary collapse

Instance Method Details

#runObject



21
22
23
24
25
26
27
28
29
# File 'lib/cocoapods-catalyst-support/command/catalyst/validate.rb', line 21

def run
  begin 
    validate_podfile
  rescue ValidationError => e
    puts e.message
  else
    puts "Congratulations! Your catalyst configuration is valid.".green
  end
end