Module: CheckXcodeXmls
- Defined in:
- lib/check_xcode_xmls.rb,
lib/check_xcode_xmls/version.rb
Defined Under Namespace
Classes: Error
Constant Summary collapse
- VERSION =
'0.1.1'.freeze
Class Method Summary collapse
-
.main(args) ⇒ Object
Your code goes here…
Class Method Details
.main(args) ⇒ Object
Your code goes here…
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/check_xcode_xmls.rb', line 9 def self.main(args) arguments_string = args.join(' ') = Parser.parse(args) shell = ShellAdapter.new result = shell.process_files( .check_constraints_identifiers, .check_use_autolayout, .ignore_regex_string, .input_directory ) puts "#{$PROGRAM_NAME} #{arguments_string}" if .echo_invocation puts "Total issues: #{result.length || 0}" if .print_totals puts result unless result.nil? end |