Commit b2a70675 authored by Fabio Pelosin's avatar Fabio Pelosin

[Linter] Clean before building the spec.

parent 5cf52bff
...@@ -366,7 +366,7 @@ module Pod ...@@ -366,7 +366,7 @@ module Pod
def xcodebuild_output def xcodebuild_output
return [] if `which xcodebuild`.strip.empty? return [] if `which xcodebuild`.strip.empty?
messages = [] messages = []
output = Dir.chdir(config.project_pods_root) { `xcodebuild 2>&1` } output = Dir.chdir(config.project_pods_root) { `xcodebuild clean build 2>&1` }
clean_output = process_xcode_build_output(output) clean_output = process_xcode_build_output(output)
messages += clean_output messages += clean_output
puts(output) if config.verbose? puts(output) if config.verbose?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment