221 Commits

Author SHA1 Message Date
Jack Nagel
755c786040 Move MacOS.xcode43_without_clt? into Xcode module 2013-08-09 20:47:28 -05:00
Jack Nagel
d6ed7fea4a Cache pkgutil results at the source 2013-07-21 20:09:55 -05:00
Jack Nagel
a1e7d7177f Eliminate nested conditional 2013-07-21 16:41:51 -05:00
Jack Nagel
9f2f5c81e9 Extract bundle_path method from Xcode#prefix 2013-07-21 16:41:51 -05:00
Jack Nagel
d9b9b77fa6 Update comment about CLT
This was worded in a confusing way, and made an assumption about future
OS X versions that we don't know to be true.

Also, it's probably wrong to state that the CLT location is dependent on
the OS X version; surely there will be a newer CLT for 10.8 that gets
installed in the same location as on 10.9. But we don't know any better
yet.
2013-07-21 16:41:50 -05:00
Jack Nagel
aa2554640d Split up unreadable conditional 2013-07-21 16:41:50 -05:00
Mike McQuaid
621c44dbd2 CLT is just CLT now; not "for Xcode".
References Homebrew/homebrew#17383.
2013-07-01 19:02:32 +01:00
David Rice
59f3d0d6f6 Detect Command Line Tools on Mavericks.
Closes Homebrew/homebrew#20774.
2013-06-26 19:09:06 +01:00
Clemens Gruber
c5f9f42e51 Fix Xcode builds on 10.9.
CLT-only builds are still broken and need to be fixed at some point.

Closes Homebrew/homebrew#20524.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-06-17 09:14:17 +01:00
Jack Nagel
e9d245cf3a Avoid unnecessary float to string conversion 2013-06-15 10:13:20 -05:00
Jack Nagel
4498db7887 Xcode 4.6.3 2013-06-13 18:22:28 -05:00
Clemens Gruber
15626b38ca Recognize OS X 10.9 and Xcode 5.0
Closes Homebrew/homebrew#20410.
Closes Homebrew/homebrew#20401.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-06-11 10:20:23 -05:00
Mike McQuaid
bca356dd70 Don't error out on unreleased OSX versions.
References Homebrew/homebrew#20142.
2013-06-04 13:58:08 +01:00
Misty De Meo
8559725645 MacOS::Xcode.latest_version: add Tiger 2013-05-23 18:44:50 -05:00
Jack Nagel
dd280cc0b1 MacOS.version in case statement doesn't work with ranges 2013-05-22 22:59:38 -05:00
Jack Nagel
3755b33a97 Refactor Xcode/CLT version checks 2013-05-22 22:30:38 -05:00
Ashley Towns
d600d6c0be Update for Xcode 4.6.2
Closes Homebrew/homebrew#19227.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-15 21:44:12 -05:00
Jack Nagel
49682e854d Avoid expensive Pathname concatenation 2013-04-15 15:00:57 -05:00
Samuel John
c6b0b563e8 Better superenv support for Xcode elsewhere
- The Library/ENV/4.3/xcrun shim now respects
  ENV['DEVELOPER_DIR'] instead assuming the location
  of /Applications/Xcode.app/Contents/Developer.
- The env var DEVELOPER_DIR is set if it is not
  already. So, during superenv this var is always set
  and we no longer have to care about people with unset
  or wrongly set xcode-select stuff. This has been
  a major PITA in the past.
- determine_developer_dir (which is used to set
  the DEVELOPER_DIR var) now uses MacOS::Xcode.prefix
  which is proven and very capable and uses splotlight
  correctly.
- Replace (and remove) MacSystem.xcode43_developer_dir
  with Xcode.prefix

Closes Homebrew/homebrew#18618
2013-03-21 17:10:32 +01:00
Jack Nagel
8039d46e09 Xcode 4.6.1 is released
Closes Homebrew/homebrew#18481.
2013-03-14 22:58:55 -05:00
Shaun Jackman
258d70028f Portability fixes to run Homebrew on Linux systems
Closes Homebrew/homebrew#16344.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-11 18:26:25 +00:00