xcpretty 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +3 -1
  4. data/CHANGELOG.md +24 -0
  5. data/README.md +3 -1
  6. data/Rakefile +6 -1
  7. data/bin/xcpretty +51 -16
  8. data/features/custom_formatter.feature +15 -0
  9. data/features/junit_report.feature +9 -1
  10. data/features/simple_format.feature +68 -4
  11. data/features/steps/formatting_steps.rb +87 -4
  12. data/features/steps/junit_steps.rb +18 -6
  13. data/features/steps/xcpretty_steps.rb +7 -0
  14. data/features/support/env.rb +18 -15
  15. data/features/test_format.feature +1 -0
  16. data/features/xcpretty.feature +12 -0
  17. data/lib/xcpretty.rb +25 -3
  18. data/lib/xcpretty/ansi.rb +1 -0
  19. data/lib/xcpretty/formatters/formatter.rb +90 -0
  20. data/lib/xcpretty/formatters/rspec.rb +22 -0
  21. data/lib/xcpretty/formatters/simple.rb +137 -0
  22. data/lib/xcpretty/parser.rb +283 -0
  23. data/lib/xcpretty/printer.rb +7 -112
  24. data/lib/xcpretty/reporters/junit.rb +53 -45
  25. data/lib/xcpretty/syntax.rb +22 -0
  26. data/lib/xcpretty/version.rb +1 -1
  27. data/spec/fixtures/constants.rb +63 -15
  28. data/spec/fixtures/custom_formatter.rb +17 -0
  29. data/spec/spec_helper.rb +1 -1
  30. data/spec/support/matchers/colors.rb +1 -1
  31. data/spec/xcpretty/formatters/formatter_spec.rb +56 -0
  32. data/spec/xcpretty/formatters/rspec_spec.rb +46 -0
  33. data/spec/xcpretty/formatters/simple_spec.rb +132 -0
  34. data/spec/xcpretty/parser_spec.rb +258 -0
  35. data/spec/xcpretty/printer_spec.rb +39 -74
  36. data/spec/xcpretty/syntax_spec.rb +35 -0
  37. data/xcpretty.gemspec +1 -1
  38. metadata +40 -25
  39. data/lib/xcpretty/printers/rspec.rb +0 -23
  40. data/lib/xcpretty/printers/simple.rb +0 -153
  41. data/spec/xcpretty/printers/printer_spec.rb +0 -117
  42. data/spec/xcpretty/printers/rspec_spec.rb +0 -52
  43. data/spec/xcpretty/printers/simple_spec.rb +0 -125
@@ -2,124 +2,19 @@ require "xcpretty/ansi"
2
2
 
3
3
  module XCPretty
4
4
 
5
- module Printer
5
+ class Printer
6
6
 
7
- module Matchers
8
- # @regex Captured groups
9
- # $1 = suite
10
- # $2 = time
11
- TESTS_RUN_START_MATCHER = /Test Suite '(?:.*\/)?(.*[ox]ctest.*)' started at(.*)/
7
+ attr_reader :formatter
12
8
 
13
- # @regex Captured groups
14
- # $1 = suite
15
- # $2 = time
16
- TESTS_RUN_COMPLETION_MATCHER = /Test Suite '(?:.*\/)?(.*[ox]ctest.*)' finished at(.*)/
17
-
18
- # @regex Captured groups
19
- # $1 = class
20
- # $2 = test_case
21
- # $3 = time
22
- PASSING_TEST_MATCHER = /Test Case\s'-\[(.*)\s(.*)\]'\spassed\s\((\d*\.\d{3})\sseconds\)/
23
-
24
- # @regex Captured groups
25
- # $1 = file
26
- # $2 = test_suite
27
- # $3 = test_case
28
- # $4 = reason
29
- FAILING_TEST_MATCHER = /(.+:\d+):\serror:\s[\+\-]\[(.*)\s(.*)\]\s:(?:\s'.*'\s\[FAILED\],)?\s(.*)/
30
-
31
- # @regex Captured groups
32
- # $1 test suite name
33
- TEST_SUITE_START_MATCHER = /Test Suite '(.*)' started at/
34
- EXECUTED_MATCHER = /^Executed/
35
- end
36
-
37
- include ANSI
38
- include Matchers
39
-
40
- def use_unicode=(bool)
41
- @use_unicode = !!bool
42
- end
43
-
44
- def use_unicode?
45
- !!@use_unicode
9
+ def initialize(params)
10
+ klass = params[:formatter]
11
+ @formatter = klass.new(params[:unicode], params[:colorize])
46
12
  end
47
13
 
48
14
  def pretty_print(text)
49
- update_test_state(text)
50
- formatted_text = pretty_format(text)
51
- formatted_text = format_test_summary(text) if formatted_text.empty?
52
-
53
- STDOUT.print(formatted_text + optional_newline) unless formatted_text.empty?
54
- end
55
-
56
- def update_test_state(text)
57
- case text
58
- when TESTS_RUN_START_MATCHER
59
- @tests_done = false
60
- @printed_summary = false
61
- @failures = {}
62
- when TESTS_RUN_COMPLETION_MATCHER
63
- @tests_done = true
64
- when FAILING_TEST_MATCHER
65
- store_failure($1, $2, $3, $4)
66
- end
67
- end
68
-
69
- def format_test_summary(text)
70
- if text =~ EXECUTED_MATCHER && @tests_done && !@printed_summary
71
- @printed_summary = true
72
- test_summary(text)
73
- else
74
- ""
75
- end
76
- end
77
-
78
- def optional_newline
79
- ""
80
- end
81
-
82
- def project_build_info(text)
83
- target = text.split('TARGET').last.split('OF PROJECT').first
84
- clean_target = target.split('-').last.strip
85
- project = text.split('OF PROJECT').last.split('WITH').first.strip
86
- configuration = text.split('CONFIGURATION').last.split('===').first.strip
87
- {
88
- :target => clean_target,
89
- :project => project,
90
- :configuration => configuration
91
- }
92
- end
93
-
94
- def test_summary(executed_message)
95
- formatted_suites = failures_per_suite.map do |suite, failures|
96
- formatted_failures = failures.map do |f|
97
- " #{f[:test_case]}, #{f[:reason]}\n #{f[:file]}"
98
- end.join("\n\n")
99
-
100
- "#{suite}\n#{formatted_failures}"
101
- end
102
-
103
- final_message = if colorize?
104
- formatted_suites.any? ? red(executed_message) : green(executed_message)
105
- else
106
- executed_message
107
- end
108
- text = [formatted_suites, final_message].join("\n\n\n").strip
109
- "\n\n#{text}"
15
+ formatted_text = formatter.pretty_format(text)
16
+ STDOUT.print(formatted_text + formatter.optional_newline) unless formatted_text.empty?
110
17
  end
111
18
 
112
- def failures_per_suite
113
- @failures ||= {}
114
- end
115
-
116
- def store_failure(file, test_suite, test_case, reason)
117
- failures_per_suite[test_suite] ||= []
118
- failures_per_suite[test_suite] << {
119
- :file => cyan(file),
120
- :reason => red(reason),
121
- :test_case => test_case,
122
- }
123
- end
124
19
  end
125
20
  end
@@ -1,13 +1,13 @@
1
-
2
1
  module XCPretty
3
2
  class JUnit
4
- include Printer::Matchers
5
3
 
4
+ include XCPretty::FormatMethods
6
5
  FILEPATH = 'build/reports/junit.xml'
7
6
 
8
7
  def load_dependencies
9
8
  unless @@loaded ||= false
10
9
  require 'fileutils'
10
+ require 'pathname'
11
11
  require 'rexml/document'
12
12
  require 'rexml/formatters/pretty'
13
13
  @@loaded = true
@@ -16,64 +16,72 @@ module XCPretty
16
16
 
17
17
  def initialize
18
18
  load_dependencies
19
- @document = REXML::Document.new
19
+ @directory = `pwd`.strip
20
+ @document = REXML::Document.new
21
+ @document << REXML::XMLDecl.new('1.0','UTF-8')
22
+ @document.add_element('testsuites')
23
+ @parser = Parser.new(self)
24
+ @total_tests = 0
25
+ @total_fails = 0
20
26
  end
21
27
 
22
28
  def handle(line)
23
- case line
24
- when TESTS_RUN_START_MATCHER
25
- create_test_suite($1)
26
- when TESTS_RUN_COMPLETION_MATCHER
27
- finish_test_suite
28
- when PASSING_TEST_MATCHER
29
- create_passing_test_case($1, $2, $3)
30
- when FAILING_TEST_MATCHER
31
- create_failing_test_case($1, $2, $3, $4)
32
- end
29
+ @parser.parse(line)
33
30
  end
34
31
 
35
- def finish
36
- FileUtils.mkdir_p(File.dirname(FILEPATH))
37
- formatter = REXML::Formatters::Pretty.new(2)
38
- formatter.compact = true
39
- formatter.write(@document, File.open(FILEPATH,'w+'))
32
+ def format_passing_test(classname, test_case, time)
33
+ test_node = suite(classname).add_element('testcase')
34
+ test_node.attributes['classname'] = classname
35
+ test_node.attributes['name'] = test_case
36
+ test_node.attributes['time'] = time
37
+ @test_count += 1
40
38
  end
41
39
 
42
- def create_test_suite(name)
43
- @test_count = 0
44
- @fail_count = 0
45
- suite = @document.add_element('testsuite')
46
- suite.attributes['name'] = $1
40
+ def format_failing_test(classname, test_case, reason, file)
41
+ test_node = suite(classname).add_element('testcase')
42
+ test_node.attributes['classname'] = classname
43
+ test_node.attributes['name'] = test_case
44
+ fail_node = test_node.add_element('failure')
45
+ fail_node.attributes['message'] = reason
46
+ fail_node.text = file.sub(@directory + '/', '')
47
+ @test_count += 1
48
+ @fail_count += 1
47
49
  end
48
50
 
49
- def finish_test_suite
50
- current_suite.attributes['tests'] = @test_count
51
- current_suite.attributes['failures'] = @fail_count
52
- @test_count = 0
53
- @fail_count = 0
51
+ def finish
52
+ set_test_counters
53
+ @document.root.attributes['tests'] = @total_tests
54
+ @document.root.attributes['failures'] = @total_fails
55
+ write_report_file
54
56
  end
55
57
 
56
- def current_suite
57
- @document.elements.to_a.last
58
+ private
59
+
60
+ def write_report_file
61
+ FileUtils.mkdir_p(File.dirname(FILEPATH))
62
+ formatter = REXML::Formatters::Pretty.new(2)
63
+ formatter.compact = true
64
+ formatter.write(@document, File.open(FILEPATH, 'w+'))
58
65
  end
59
66
 
60
- def create_failing_test_case(file, classname, name, reason)
61
- test_node = current_suite.add_element('testcase')
62
- test_node.attributes['classname'] = classname
63
- test_node.attributes['name'] = name
64
- fail_node = test_node.add_element('failure')
65
- fail_node.attributes['message'] = reason
66
- fail_node.text = file
67
- @test_count+=1
68
- @fail_count+=1
67
+ def suite(classname)
68
+ return @last_suite if @last_suite && @last_suite.attributes['name'] == classname
69
+
70
+ set_test_counters
71
+ @last_suite = @document.root.add_element('testsuite')
72
+ @last_suite.attributes['name'] = classname
73
+ @last_suite
69
74
  end
70
75
 
71
- def create_passing_test_case(classname, name, time)
72
- test_node = current_suite.add_element('testcase')
73
- test_node.attributes['classname'] = classname
74
- test_node.attributes['name'] = name
75
- test_node.attributes['time'] = time
76
- @test_count+=1
76
+ def set_test_counters
77
+ if @last_suite
78
+ @last_suite.attributes['tests'] = @test_count
79
+ @last_suite.attributes['failures'] = @fail_count
80
+ end
81
+ @total_fails += @fail_count || 0
82
+ @total_tests += @test_count || 0
83
+ @test_count = 0
84
+ @fail_count = 0
77
85
  end
78
86
  end
79
87
  end
@@ -0,0 +1,22 @@
1
+ module XCPretty
2
+ class Syntax
3
+
4
+ def self.highlight(code)
5
+ pygments_available? ? pygmentize(code) : code
6
+ end
7
+
8
+
9
+ private
10
+
11
+ def self.pygments_available?
12
+ @available = system('which pygmentize > /dev/null') if @available.nil?
13
+ @available
14
+ end
15
+
16
+ def self.pygmentize(code)
17
+ `echo "#{code}" | pygmentize -l objc`
18
+ end
19
+
20
+ end
21
+ end
22
+
@@ -1,3 +1,3 @@
1
1
  module XCPretty
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -1,7 +1,6 @@
1
1
  # encoding: utf-8
2
2
  KIWI = 'kiwi'
3
3
  OCUNIT = 'ocunit'
4
- SAMPLE_TEST_GROUP_NAME = "RACTupleSpec"
5
4
  SAMPLE_OCUNIT_TEST_RUN_BEGINNING = "Test Suite '/Users/musalj/Library/Developer/Xcode/DerivedData/ReactiveCocoa-eznxkbqvgfsnrvetemqloysuwagb/Build/Products/Test/ReactiveCocoaTests.octest(Tests)' started at 2013-12-10 07:04:33 +0000"
6
5
  SAMPLE_KIWI_TEST_RUN_BEGINNING = "Test Suite 'ObjectiveRecordTests.xctest' started at 2013-12-10 06:15:39 +0000"
7
6
  SAMPLE_OCUNIT_TEST_RUN_COMPLETION = "Test Suite '/Users/musalj/Library/Developer/Xcode/DerivedData/ReactiveCocoa-eznxkbqvgfsnrvetemqloysuwagb/Build/Products/Test/ReactiveCocoaTests.octest(Tests)' finished at 2013-12-10 07:03:03 +0000."
@@ -18,13 +17,13 @@ SAMPLE_SPECTA_FAILURE = "/Users/musalj/code/OSS/ReactiveCocoa/ReactiveCocoaFrame
18
17
  SAMPLE_BUILD = "=== BUILD TARGET The Spacer OF PROJECT Pods WITH THE DEFAULT CONFIGURATION Debug ==="
19
18
  SAMPLE_CLEAN = "=== CLEAN TARGET Pods-ObjectiveSugar OF PROJECT Pods WITH CONFIGURATION Debug ==="
20
19
  SAMPLE_ANOTHER_CLEAN = "=== CLEAN TARGET Pods OF PROJECT Pods WITH CONFIGURATION Debug ==="
21
- SAMPLE_CLEAN_NESTED_PODS = "=== CLEAN TARGET Pods-ObjectiveSugarTests-Kiwi OF PROJECT Pods WITH CONFIGURATION Debug ==="
22
20
  SAMPLE_CLEAN_REMOVE = %Q(
23
21
  Clean.Remove clean /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Intermediates/ObjectiveSugar.build/Debug-iphonesimulator/ObjectiveSugarTests.build
24
22
  builtin-rm -rf /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Intermediates/ObjectiveSugar.build/Debug-iphonesimulator/ObjectiveSugarTests.build
25
23
  )
26
24
  SAMPLE_EXECUTED_TESTS = "Executed 4 tests, with 0 failures (0 unexpected) in 0.003 (0.004) seconds"
27
- SAMPLE_OCUNIT_TEST = "Test Case '-[#{SAMPLE_TEST_GROUP_NAME} _tupleByAddingObject__should_add_a_non_nil_object]' passed (0.001 seconds)."
25
+ SAMPLE_OCUNIT_TEST = "Test Case '-[RACCommandSpec enabled_signal_should_send_YES_while_executing_is_YES_and_allowsConcurrentExecution_is_YES]' passed (0.001 seconds)."
26
+ SAMPLE_KIWI_TEST = "Test Case '-[MappingsTests Mappings_SupportsCreatingAParentObjectUsingJustIDFromTheServer]' passed (0.004 seconds)."
28
27
  SAMPLE_COMPILE = %Q(
29
28
  CompileC /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-ObjectiveSugar.build/Objects-normal/i386/NSMutableArray+ObjectiveSugar.o /Users/musalj/code/OSS/ObjectiveSugar/Classes/NSMutableArray+ObjectiveSugar.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
30
29
  cd /Users/musalj/code/OSS/ObjectiveSugar/Example/Pods
@@ -44,14 +43,7 @@ ProcessPCH /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxw
44
43
  cd /Users/musalj/code/OSS/ObjectiveRecord/Pods
45
44
  setenv LANG en_US.US-ASCII
46
45
  setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/musalj/.rbenv/versions/2.0.0-p247/bin:/usr/local/Cellar/rbenv/0.4.0/libexec:/Users/musalj/code/go/bin:/Users/musalj/.rbenv/shims:/Users/musalj/.rbenv/bin:/usr/local/share/npm/bin:/usr/local/bin:/Library/Python/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
47
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c-header -arch i386 -fmessage-length=178 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fmodules -fmodules-cache-path=/Users/musalj/Library/Developer/Xcode/DerivedData/ModuleCache -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DCOCOAPODS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -fexceptions -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -mios-simulator-version-min=6.0 -iquote /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-CocoaLumberjack.build/Pods-CocoaLumberjack-generated-files.hmap -I/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-CocoaLumberjack.build/Pods-CocoaLumberjack-own-target-headers.hmap -I/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-CocoaLumberjack.build/Pods-CocoaLumberjack-all-target-headers.hmap -iquote /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-CocoaLumberjack.build/Pods-CocoaLumberjack-project-headers.hmap -I/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Products/Debug-iphonesimulator/include -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/BuildHeaders -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/BuildHeaders/CocoaLumberjack -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/ABContactHelper -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/AFNetworking -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/CocoaLumberjack -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/CrittercismSDK -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/DTCoreText -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/DTFoundation -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/HPGrowingTextView -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/Kiwi -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/MAKVONotificationCenter -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/MAKVONotificationCenter/MAKVONotificationCenter -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/MBSwitch -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/MBSwitch/MBSwitch -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/Reachability -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/SBJson -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/SSKeychain -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/TITokenField -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamDrawReport -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamKit -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamKit/YamCore -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamKit/YamData -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamKit/YamSerf -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamKit/YamUI -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamKitTests -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/cometclient -I/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-CocoaLumberjack.build/DerivedSources/i386 -I/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-CocoaLumberjack.build/DerivedSources -F/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Products/Debug-iphonesimulator -fobjc-arc -DOS_OBJECT_USE_OBJC=0 --serialize-diagnostics /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/PrecompiledHeaders/Pods-CocoaLumberjack-prefix-aklsecopvqdctoeroyamrkgktpei/Pods-CocoaLumberjack-prefix.pch.dia -MMD -MT dependencies -MF /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/PrecompiledHeaders/Pods-CocoaLumberjack-prefix-aklsecopvqdctoeroyamrkgktpei/Pods-CocoaLumberjack-prefix.pch.d -c /Users/musalj/code/OSS/ObjectiveRecord/Pods/Pods-CocoaLumberjack-prefix.pch -o /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/PrecompiledHeaders/Pods-CocoaLumberjack-prefix-aklsecopvqdctoeroyamrkgktpei/Pods-CocoaLumberjack-prefix.pch.pch
48
- )
49
- SAMPLE_ANOTHER_PRECOMPILE = %Q(
50
- ProcessPCH /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/PrecompiledHeaders/Pods-CrittercismSDK-prefix-ayqymsvxomizqsdqzftsirxxyful/Pods-CrittercismSDK-prefix.pch.pch Pods-CrittercismSDK-prefix.pch normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
51
- cd /Users/musalj/code/OSS/ObjectiveRecord/Pods
52
- setenv LANG en_US.US-ASCII
53
- setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/musalj/.rbenv/versions/2.0.0-p247/bin:/usr/local/Cellar/rbenv/0.4.0/libexec:/Users/musalj/code/go/bin:/Users/musalj/.rbenv/shims:/Users/musalj/.rbenv/bin:/usr/local/share/npm/bin:/usr/local/bin:/Library/Python/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
54
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c-header -arch i386 -fmessage-length=178 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fmodules -fmodules-cache-path=/Users/musalj/Library/Developer/Xcode/DerivedData/ModuleCache -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DCOCOAPODS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -fexceptions -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -mios-simulator-version-min=6.0 -iquote /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-CrittercismSDK.build/Pods-CrittercismSDK-generated-files.hmap -I/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-CrittercismSDK.build/Pods-CrittercismSDK-own-target-headers.hmap -I/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-CrittercismSDK.build/Pods-CrittercismSDK-all-target-headers.hmap -iquote /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-CrittercismSDK.build/Pods-CrittercismSDK-project-headers.hmap -I/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Products/Debug-iphonesimulator/include -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/BuildHeaders -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/BuildHeaders/CrittercismSDK -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/ABContactHelper -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/AFNetworking -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/CocoaLumberjack -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/CrittercismSDK -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/DTCoreText -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/DTFoundation -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/HPGrowingTextView -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/Kiwi -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/MAKVONotificationCenter -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/MAKVONotificationCenter/MAKVONotificationCenter -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/MBSwitch -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/MBSwitch/MBSwitch -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/Reachability -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/SBJson -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/SSKeychain -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/TITokenField -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamDrawReport -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamKit -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamKit/YamCore -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamKit/YamData -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamKit/YamSerf -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamKit/YamUI -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamKitTests -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/cometclient -I/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-CrittercismSDK.build/DerivedSources/i386 -I/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-CrittercismSDK.build/DerivedSources -F/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Products/Debug-iphonesimulator --serialize-diagnostics /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/PrecompiledHeaders/Pods-CrittercismSDK-prefix-ayqymsvxomizqsdqzftsirxxyful/Pods-CrittercismSDK-prefix.pch.dia -MMD -MT dependencies -MF /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/PrecompiledHeaders/Pods-CrittercismSDK-prefix-ayqymsvxomizqsdqzftsirxxyful/Pods-CrittercismSDK-prefix.pch.d -c /Users/musalj/code/OSS/ObjectiveRecord/Pods/Pods-CrittercismSDK-prefix.pch -o /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/PrecompiledHeaders/Pods-CrittercismSDK-prefix-ayqymsvxomizqsdqzftsirxxyful/Pods-CrittercismSDK-prefix.pch.pch
46
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c-header -arch i386 -fmessage-length=178 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fmodules -fmodules-cache-path=/Users/musalj/Library/Developer/Xcode/DerivedData/ModuleCache -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DCOCOAPODS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -fexceptions -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -mios-simulator-version-min=6.0 -iquote /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-CocoaLumberjack.build/Pods-CocoaLumberjack-generated-files.hmap -I/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-CocoaLumberjack.build/Pods-CocoaLumberjack-own-target-headers.hmap -I/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-CocoaLumberjack.build/Pods-CocoaLumberjack-all-target-headers.hmap -iquote /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-CocoaLumberjack.build/Pods-CocoaLumberjack-project-headers.hmap -I/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Products/Debug-iphonesimulator/include -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/BuildHeaders -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/BuildHeaders/CocoaLumberjack -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/ABContactHelper -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/AFNetworking -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/CocoaLumberjack -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/CrittercismSDK -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/DTCoreText -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/DTFoundation -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/HPGrowingTextView -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/Kiwi -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/MAKVONotificationCenter -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/MAKVONotificationCenter/MAKVONotificationCenter -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/MBSwitch -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/MBSwitch/MBSwitch -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/Reachability -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/SBJson -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/SSKeychain -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/TITokenField -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamDrawReport -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamKit -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamKit/YamCore -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamKit/YamData -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamKit/YamSerf -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamKit/YamUI -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/YamKitTests -I/Users/musalj/code/OSS/ObjectiveRecord/Pods/Headers/cometclient -I/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-CocoaLumberjack.build/DerivedSources/i386 -I/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-CocoaLumberjack.build/DerivedSources -F/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Products/Debug-iphonesimulator -fobjc-arc -DOS_OBJECT_USE_OBJC=0 --serialize-diagnostics /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/PrecompiledHeaders/Pods-CocoaLumberjack-prefix-aklsecopvqdctoeroyamrkgktpei/Pods-CocoaLumberjack-prefix.pch.dia -MMD -MT dependencies -MF /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/PrecompiledHeaders/Pods-CocoaLumberjack-prefix-aklsecopvqdctoeroyamrkgktpei/Pods-CocoaLumberjack-prefix.pch.d -c /Users/musalj/code/OSS/ObjectiveRecord/Pods/Pods-CocoaLumberjack-prefix.pch -o /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/PrecompiledHeaders/Pods-CocoaLumberjack-prefix-aklsecopvqdctoeroyamrkgktpei/Pods-CocoaLumberjack-prefix.pch.pch
55
47
  )
56
48
  SAMPLE_LIBTOOL = %Q(
57
49
  Libtool /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Products/Debug-iphonesimulator/libPods-ObjectiveSugarTests-Kiwi.a normal i386
@@ -72,8 +64,8 @@ CopyStringsFile /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar
72
64
  setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/musalj/code/go/bin:/Users/musalj/.rbenv/shims:/Users/musalj/.rbenv/bin:/usr/local/share/npm/bin:/usr/local/bin:/Library/Python/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
73
65
  builtin-copyStrings --validate --inputencoding utf-8 --outputencoding binary --outdir /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Products/Debug-iphonesimulator/ObjectiveSugar.app/en.lproj -- ObjectiveSugar/en.lproj/InfoPlist.strings
74
66
  )
75
- SAMPLE_PROCESS_INFOPLIST =
76
- %Q(ProcessInfoPlistFile build/Release/The\\ Spacer.app/Contents/Info.plist The\\ Spacer/The\\ Spacer-Info.plist
67
+ SAMPLE_PROCESS_INFOPLIST = %Q(
68
+ ProcessInfoPlistFile build/Release/The\\ Spacer.app/Contents/Info.plist The\\ Spacer/The\\ Spacer-Info.plist
77
69
      cd "/Users/delisa/Code/Personal/The Spacer"
78
70
      builtin-infoPlistUtility /Users/delisa/Code/Personal/The\\ Spacer/The\\ Spacer/The\\ Spacer-Info.plist -genpkginfo /Users/delisa/Code/Personal/The\\ Spacer/build/Release/The\\ Spacer.app/Contents/PkgInfo -expandbuildsettings -platform macosx -additionalcontentfile /Users/delisa/Code/Personal/The\\ Spacer/build/The\\ Spacer.build/Release/The\\ Spacer.build/assetcatalog_generated_info.plist -o /Users/delisa/Code/Personal/The\\ Spacer/build/Release/The\\ Spacer.app/Contents/Info.plist
79
71
  )
@@ -90,8 +82,8 @@ GenerateDSYMFile /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSuga
90
82
  setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/musalj/code/go/bin:/Users/musalj/.rbenv/shims:/Users/musalj/.rbenv/bin:/usr/local/share/npm/bin:/usr/local/bin:/Library/Python/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
91
83
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Products/Debug-iphonesimulator/ObjectiveSugarTests.octest/ObjectiveSugarTests -o /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Products/Debug-iphonesimulator/ObjectiveSugarTests.octest.dSYM
92
84
  )
93
- SAMPLE_RUN_SCRIPT =
94
- %Q(PhaseScriptExecution Check\\ Pods\\ Manifest.lock /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Intermediates/ObjectiveSugar.build/Debug-iphonesimulator/ObjectiveSugar.build/Script-468DABF301EC4EC1A00CC4C2.sh
85
+ SAMPLE_RUN_SCRIPT = %Q(
86
+ PhaseScriptExecution Check\\ Pods\\ Manifest.lock /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Intermediates/ObjectiveSugar.build/Debug-iphonesimulator/ObjectiveSugar.build/Script-468DABF301EC4EC1A00CC4C2.sh
95
87
  cd /Users/musalj/code/OSS/ObjectiveSugar/Example
96
88
  setenv ACTION build
97
89
  setenv AD_HOC_CODE_SIGNING_ALLOWED NO
@@ -424,3 +416,59 @@ SAMPLE_RUN_SCRIPT =
424
416
  setenv variant normal
425
417
  /bin/sh -c /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Intermediates/ObjectiveSugar.build/Debug-iphonesimulator/ObjectiveSugar.build/Script-468DABF301EC4EC1A00CC4C2.sh
426
418
  )
419
+ SAMPLE_ANALYZE = %Q(
420
+ Analyze CocoaChip/CCChip8DisplayView.m
421
+ cd /Users/dustin/Source/CocoaChip
422
+ setenv LANG en_US.US-ASCII
423
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=107 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Werror -Wmissing-field-initializers -Wmissing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wsign-compare -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wstrict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -fvisibility=hidden -Wno-sign-conversion -D__clang_analyzer__ -Xclang -analyzer-output=plist-multi-file -Xclang -analyzer-config -Xclang path-diagnostics-alternate=true -Xclang -analyzer-config -Xclang report-in-main-source-file=true -Xclang -analyzer-checker -Xclang security.insecureAPI.UncheckedReturn -Xclang -analyzer-checker -Xclang security.insecureAPI.getpw -Xclang -analyzer-checker -Xclang security.insecureAPI.gets -Xclang -analyzer-checker -Xclang security.insecureAPI.mkstemp -Xclang -analyzer-checker -Xclang security.insecureAPI.mktemp -Xclang -analyzer-disable-checker -Xclang security.insecureAPI.rand -Xclang -analyzer-disable-checker -Xclang security.insecureAPI.strcpy -Xclang -analyzer-checker -Xclang security.insecureAPI.vfork -iquote /Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/CocoaChip-generated-files.hmap -I/Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/CocoaChip-own-target-headers.hmap -I/Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/CocoaChip-all-target-headers.hmap -iquote /Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/CocoaChip-project-headers.hmap -I/Users/dustin/Source/CocoaChip/build/Release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/DerivedSources/x86_64 -I/Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/DerivedSources -F/Users/dustin/Source/CocoaChip/build/Release -include /var/folders/nn/s88k060x7016ccml2bc6f5_h0000gn/C/com.apple.DeveloperTools/5.0.2-5A3005/Xcode/SharedPrecompiledHeaders/CocoaChip-Prefix-cqqikmscxiepjgdcrgpysqicucyu/CocoaChip-Prefix.pch --analyze /Users/dustin/Source/CocoaChip/CocoaChip/CCChip8DisplayView.m -o /Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/StaticAnalyzer/CocoaChip/CocoaChip/normal/x86_64/CCChip8DisplayView.plist
424
+ )
425
+ SAMPLE_ANALYZE_SHALLOW = %Q(
426
+ AnalyzeShallow CocoaChip/CCChip8DisplayView.m
427
+ cd /Users/dustin/Source/CocoaChip
428
+ setenv LANG en_US.US-ASCII
429
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=107 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Werror -Wmissing-field-initializers -Wmissing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wsign-compare -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wstrict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -fvisibility=hidden -Wno-sign-conversion -D__clang_analyzer__ -Xclang -analyzer-output=plist-multi-file -Xclang -analyzer-config -Xclang path-diagnostics-alternate=true -Xclang -analyzer-config -Xclang report-in-main-source-file=true -Xclang -analyzer-config -Xclang mode=shallow -Xclang -analyzer-checker -Xclang security.insecureAPI.UncheckedReturn -Xclang -analyzer-checker -Xclang security.insecureAPI.getpw -Xclang -analyzer-checker -Xclang security.insecureAPI.gets -Xclang -analyzer-checker -Xclang security.insecureAPI.mkstemp -Xclang -analyzer-checker -Xclang security.insecureAPI.mktemp -Xclang -analyzer-disable-checker -Xclang security.insecureAPI.rand -Xclang -analyzer-disable-checker -Xclang security.insecureAPI.strcpy -Xclang -analyzer-checker -Xclang security.insecureAPI.vfork -iquote /Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/CocoaChip-generated-files.hmap -I/Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/CocoaChip-own-target-headers.hmap -I/Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/CocoaChip-all-target-headers.hmap -iquote /Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/CocoaChip-project-headers.hmap -I/Users/dustin/Source/CocoaChip/build/Release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/DerivedSources/x86_64 -I/Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/DerivedSources -F/Users/dustin/Source/CocoaChip/build/Release -include /var/folders/nn/s88k060x7016ccml2bc6f5_h0000gn/C/com.apple.DeveloperTools/5.0.2-5A3005/Xcode/SharedPrecompiledHeaders/CocoaChip-Prefix-dzmrdzscqkbvvrafvxsbjwbxtmlz/CocoaChip-Prefix.pch --analyze /Users/dustin/Source/CocoaChip/CocoaChip/CCChip8DisplayView.m -o /Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/StaticAnalyzer/CocoaChip/CocoaChip/normal/x86_64/CCChip8DisplayView.plist
430
+ )
431
+ SAMPLE_COMPILE_XIB = %Q(
432
+ CompileXIB CocoaChip/en.lproj/MainMenu.xib
433
+ cd /Users/dustin/Source/CocoaChip
434
+ setenv XCODE_DEVELOPER_USR_PATH /Applications/Xcode.app/Contents/Developer/usr/bin/..
435
+ /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --minimum-deployment-target 10.7 --output-format human-readable-text --compile /Users/dustin/Source/CocoaChip/build/Release/CocoaChip.app/Contents/Resources/en.lproj/MainMenu.nib /Users/dustin/Source/CocoaChip/CocoaChip/en.lproj/MainMenu.xib
436
+ )
437
+ SAMPLE_CODESIGN = %Q(
438
+ CodeSign build/Release/CocoaChip.app
439
+ cd /Users/dustin/Source/CocoaChip
440
+ setenv CODESIGN_ALLOCATE /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
441
+ Using code signing identity \"Mac Developer: John Smith (0123456789)\"
442
+ /usr/bin/codesign --force --sign 0123456789ABCDEF0123456789ABCDEF01234567 /Users/dustin/Source/CocoaChip/build/Release/CocoaChip.app
443
+ )
444
+ SAMPLE_CODESIGN_FRAMEWORK = %Q(
445
+ CodeSign build/Release/CocoaChipCore.framework/Versions/A
446
+ cd /Users/dustin/Source/CocoaChip
447
+ setenv CODESIGN_ALLOCATE /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
448
+ Using code signing identity "Mac Developer: John Smith (0123456789)"
449
+ /usr/bin/codesign --force --sign 0123456789ABCDEF0123456789ABCDEF01234567 /Users/dustin/Source/CocoaChip/build/Release/CocoaChipCore.framework/Versions/A
450
+ )
451
+ SAMPLE_PREPROCESS = %Q(
452
+ Preprocess build/CocoaChip.build/Release/CocoaChip.build/Preprocessed-Info.plist CocoaChip/CocoaChip-Info.plist
453
+ cd /Users/dustin/Source/CocoaChip
454
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -E -P -x c -Wno-trigraphs /Users/dustin/Source/CocoaChip/CocoaChip/CocoaChip-Info.plist -F/Users/dustin/Source/CocoaChip/build/Release -o /Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/Preprocessed-Info.plist
455
+ )
456
+ SAMPLE_PBXCP = %Q(
457
+ PBXCp build/Release/CocoaChipCore.framework build/Release/CocoaChip.app/Contents/Frameworks/CocoaChipCore.framework
458
+ cd /Users/dustin/Source/CocoaChip
459
+ builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -strip-debug-symbols -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -resolve-src-symlinks /Users/dustin/Source/CocoaChip/build/Release/CocoaChipCore.framework /Users/dustin/Source/CocoaChip/build/Release/CocoaChip.app/Contents/Frameworks
460
+ warning: skipping copy phase strip, binary is code signed: /Users/dustin/Source/CocoaChip/build/Release/CocoaChipCore.framework/Versions/A/CocoaChipCore
461
+ )
462
+ SAMPLE_PODS_ERROR = "error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation."
463
+
464
+ SAMPLE_COMPILE_ERROR = %Q(
465
+ /Users/musalj/code/OSS/SampleApp/SampleTest.m:12:59: error: expected identifier
466
+ [[thread.lastMessage should] equal:thread.];
467
+ ^
468
+ )
469
+ SAMPLE_COMPILE_ERROR_WITH_TILDES = %Q(
470
+ /Users/musalj/code/OSS/ObjectiveSugar/Example/ObjectiveSugarTests/NSSetTests.m:93:16: error: no visible @interface for 'NSArray' declares the selector 'shoulds'
471
+ }] shoulds] equal:@[ @"F458 Italia", @"Testarossa" ]];
472
+ ~~ ^~~~~~~
473
+ )
474
+
@@ -0,0 +1,17 @@
1
+ # encoding: utf-8
2
+ class EmojiFormatter < XCPretty::Formatter
3
+
4
+ def format_compile(file_name, file_path)
5
+ "😎 Compilation party time for #{file_name}"
6
+ end
7
+
8
+ def format_failing_test(suite, test_case, reason, file)
9
+ "😞 #{test_case}"
10
+ end
11
+
12
+ def format_passing_test(suite, test_case, time)
13
+ "😍 #{test_case} (#{time})"
14
+ end
15
+ end
16
+
17
+ EmojiFormatter
data/spec/spec_helper.rb CHANGED
@@ -3,4 +3,4 @@ require "lib/xcpretty/ansi"
3
3
  require "support/matchers/colors"
4
4
  require "fixtures/constants"
5
5
 
6
- include XCPretty::ANSI
6
+ include XCPretty::ANSI
@@ -15,4 +15,4 @@ RSpec::Matchers.define :be_colored do |expected|
15
15
  failure_message_for_should_not do |actual|
16
16
  "expected that #{strip(actual)} would not be colored #{expected}, but was #{effects_string(actual)}"
17
17
  end
18
- end
18
+ end
@@ -0,0 +1,56 @@
1
+ require 'xcpretty'
2
+
3
+ module XCPretty
4
+
5
+ describe Formatter do
6
+
7
+ before(:each) do
8
+ @formatter = Formatter.new(true, true)
9
+ end
10
+
11
+ it "initializes with unicode" do
12
+ @formatter.use_unicode?.should be_true
13
+ end
14
+
15
+ it "initializes with color" do
16
+ @formatter.colorize?.should be_true
17
+ end
18
+
19
+ it "outputs to new lines by default" do
20
+ @formatter.optional_newline.should == "\n"
21
+ end
22
+
23
+ if RUBY_VERSION > '1.8.7'
24
+ it "formats failures per suite" do
25
+ failures = {
26
+ 'CarSpec' => [
27
+ {
28
+ :file => 'path/to/file2',
29
+ :reason => "just doesn't work",
30
+ :test_case => 'Starting the car'
31
+ }],
32
+ 'StringSpec' => [
33
+ {
34
+ :file => 'path/to/file1',
35
+ :reason => "doesn't split",
36
+ :test_case => 'Splitting the string'
37
+ }]
38
+ }
39
+ @formatter.format_test_summary(SAMPLE_EXECUTED_TESTS, failures).should == %Q(
40
+
41
+ CarSpec
42
+ Starting the car, #{@formatter.red("just doesn't work")}
43
+ #{@formatter.cyan("path/to/file2")}
44
+
45
+ StringSpec
46
+ Splitting the string, #{@formatter.red("doesn't split")}
47
+ #{@formatter.cyan("path/to/file1")}
48
+
49
+
50
+ #{@formatter.red(SAMPLE_EXECUTED_TESTS)})
51
+
52
+ end
53
+ end # only ruby 1.9 above because of ordered hashes
54
+
55
+ end
56
+ end