aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/mach.rb
AgeCommit message (Collapse)Author
2015-10-18move mach.rb to os/mac/mach.rbXu Cheng
2015-08-29More API documentation.Mike McQuaid
And remove the documented stuff from the `example-formula.rb`. Closes Homebrew/homebrew#43241. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-21MacOS: update locate_cctoolWilliam Woodruff
This becomes MacOS.{install_name_tool,otool}, only do check_xcode if xcode is installed, otherwise emit a warning
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-11mach: improve otool failure handling.Mike McQuaid
2014-12-11mach: handle empty otool output.Mike McQuaid
2014-10-11Revert "Don't raise in mach_data so the debugger doesn't catch it"Jack Nagel
This reverts commit 4f8a3e2113c2e7b88600ff6371f9f70579c55509.
2014-10-11Revert "Handle read(n) returning nil"Jack Nagel
This reverts commit 578cb637594d32b86322be29205329d700ad75ca.
2014-10-10Handle read(n) returning nilJack Nagel
Fixes Homebrew/homebrew#33090.
2014-10-10Don't raise in mach_data so the debugger doesn't catch itJack Nagel
Closes Homebrew/homebrew#33088.
2014-04-13Allow access to both the linked dylibs and the dylib IDJack Nagel
2013-12-14Remove unnecessary captures in otool regexpJack Nagel
2013-12-14Unify install name parsingJack Nagel
2013-12-14Move Pathname#dynamically_linked_libraries to mach moduleJack Nagel
2013-08-24Fix const reference in machAdam Vandenberg
Fixes Homebrew/homebrew#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 Homebrew/homebrew#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. Homebrew/homebrew#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>