Encourage usage of the new CLT4Xcode
This commit is contained in:
parent
dfa75f9230
commit
f37e22838c
@ -131,7 +131,12 @@ Dir.chdir "/usr/local" do
|
|||||||
end
|
end
|
||||||
|
|
||||||
warn "/usr/local/bin is not in your PATH." unless ENV['PATH'].split(':').include? '/usr/local/bin'
|
warn "/usr/local/bin is not in your PATH." unless ENV['PATH'].split(':').include? '/usr/local/bin'
|
||||||
|
|
||||||
|
if macos_version < 10.7
|
||||||
warn "Now install Xcode: http://developer.apple.com/technologies/xcode.html" unless Kernel.system "/usr/bin/which -s gcc"
|
warn "Now install Xcode: http://developer.apple.com/technologies/xcode.html" unless Kernel.system "/usr/bin/which -s gcc"
|
||||||
|
else
|
||||||
|
warn "Install \"Command Line Tools for Xcode\": http://developer.apple.com/downloads" unless File.file? "/usr/bin/xcrun"
|
||||||
|
end
|
||||||
|
|
||||||
unless badlibs.empty?
|
unless badlibs.empty?
|
||||||
warn "The following *evil* dylibs exist in /usr/local/lib"
|
warn "The following *evil* dylibs exist in /usr/local/lib"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user