aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/mach.rb
AgeCommit message (Collapse)Author
2013-08-24Fix const reference in machAdam Vandenberg
Fixes #22090.
2013-08-15Mach: add as_cmake_arch_flags helperMisty De Meo
2013-08-15Mach: improve PPC arch detectionMisty De Meo
Also adds some reusable constants into the global Hardware::CPU namespace, available on both OS X and Linux.
2013-03-11mach.rb: remove incorrect commentJack Nagel
IO#read does not raise EOFError, it just returns an empty string for each call after it consumes the underlying file or stream. This module is going to be refactored and the begin/rescue is going to be removed anyway.
2013-03-11Portability fixes to run Homebrew on Linux systemsShaun Jackman
Closes #16344. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-03Architecture: add flag for ppc supportAdam Vandenberg
2012-08-21mach-o: use any? instead of map and include?Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-16Teach Mach-O machinery about bundlesJack Nagel
c.f. #12810. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-16Fix indentation in MachO#mach_dataJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-30archs_for_command: use new Mach-O Pathname methodsJack Nagel
- Reimplement archs_for_command on top of the new Mach-O methods - Move ArchitectureListExtension to mach.rb - Add a test for the ArchitectureListExtension Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-30Pathname: add Mach-O moduleJack Nagel
The MachO module contains methods for learning about Mach-O binaries, and can be used where one might normally shell out to file(1). Signed-off-by: Jack Nagel <jacknagel@gmail.com>