Homebrew CVS is required for Xcode 5+
This commit is contained in:
parent
5537abbe51
commit
36d3a2dfa8
@ -166,7 +166,7 @@ class DependencyCollector
|
|||||||
when strategy <= BazaarDownloadStrategy
|
when strategy <= BazaarDownloadStrategy
|
||||||
Dependency.new("bazaar", tags)
|
Dependency.new("bazaar", tags)
|
||||||
when strategy <= CVSDownloadStrategy
|
when strategy <= CVSDownloadStrategy
|
||||||
Dependency.new("cvs", tags) if MacOS.version >= :mavericks
|
Dependency.new("cvs", tags) unless MacOS::Xcode.provides_cvs?
|
||||||
when strategy < AbstractDownloadStrategy
|
when strategy < AbstractDownloadStrategy
|
||||||
# allow unknown strategies to pass through
|
# allow unknown strategies to pass through
|
||||||
else
|
else
|
||||||
|
|||||||
@ -150,6 +150,10 @@ module OS
|
|||||||
version < "4.3"
|
version < "4.3"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def provides_cvs?
|
||||||
|
version < "5.0"
|
||||||
|
end
|
||||||
|
|
||||||
def default_prefix?
|
def default_prefix?
|
||||||
if version < "4.3"
|
if version < "4.3"
|
||||||
%r{^/Developer} === prefix
|
%r{^/Developer} === prefix
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user