Commit 26cb70d2 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[IntegrationSpecs] Use developer tools when aavailable

parent 9620191c
......@@ -50,6 +50,11 @@ require 'clintegracon'
require 'integration/xcodeproj_project_yaml'
require 'tmpdir'
if (developer_bin = `xcode-select -p 2>/dev/null`.strip) && $?.success?
developer_bin = Pathname(developer_bin) + 'usr/bin'
ENV['PATH'] = "#{developer_bin}#{File::PATH_SEPARATOR}#{ENV['PATH']}"
end
CLIntegracon.configure do |c|
c.spec_path = ROOT + 'spec/cocoapods-integration-specs'
c.temp_path = ROOT + 'tmp'
......
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