aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
AgeCommit message (Collapse)Author
2014-03-26Fall back to Process.gid if we aren't a member of the file's groupJack Nagel
2014-03-26Put tempfile into binmode before writingJack Nagel
2014-03-22Preserve permissions when using Pathname#atomic_writeJack Nagel
2014-03-22Remove unnecessary swearing.Mike McQuaid
2014-03-19Expand paths before making relative symlinkJack Nagel
Fixes Homebrew/homebrew#27702. Fixes Homebrew/homebrew#27704.
2014-03-18Make relative symlinks in Pathname#install_symlinkJack Nagel
Closes Homebrew/homebrew#27672.
2014-03-15Prefer opt prefix over linked keg entry when picking active kegJack Nagel
2014-03-15Add an extra sanity checkJack Nagel
2014-03-15Refactor ARGV.kegsJack Nagel
2014-03-15Use canonicalized name in NoSuchKegError messageJack Nagel
cf. Homebrew/homebrew#22778.
2014-03-14Use Formula#system and existing error handling in scons helperJack Nagel
Fixes Homebrew/homebrew#27553.
2014-03-13Use ARGV.envJack Nagel
2014-03-13Simplify ARGV.filter_for_dependenciesJack Nagel
2014-03-13Make debug an installer modeJack Nagel
2014-03-13Make verbose an installer modeJack Nagel
2014-03-13Make interactive an installer modeJack Nagel
2014-03-13Add ARGV.envJack Nagel
2014-03-10Reduce the number of things that trigger ARGV.build_from_source?Jack Nagel
The newly generalized bottle implementation removes the need to defensively check for --devel, --HEAD, and others in this method.
2014-03-10Make build_bottle an explicit installer modeJack Nagel
2014-03-08Remove "--fresh" option from installerJack Nagel
Turns out that this doesn't really work at all. `brew install` _never_ reuses options in the first place, and using this option with `brew upgrade` results in some nasty corner cases in passing options to dependencies.
2014-03-08Symbol#to_proc: fix with arrays of arraysMisty De Meo
Previously, with nested arrays, the Symbol#to_proc would iterate over the first item in the nested array instead of the array itself, e.g.: [[1,2], [3,4]].map(&:first) #=> NoMethodError: undefined method `first' for 1:Fixnum
2014-03-08Revert "ENV: request no byte code Python when bottling."Mike McQuaid
This reverts commit b603c96276cf7fe1417d2355eebc47fb15da0b8c.
2014-03-02ENV: request no byte code Python when bottling.Mike McQuaid
2014-02-28move scons helper to fileutilsAdam Vandenberg
2014-02-27Add an xcodebuild helper and deprecate system "xcodebuild"Jack Nagel
In the future we can remove the ENV munging branch from Formula#system. Closes Homebrew/homebrew#27081.
2014-02-19Fix building universal binaries on 32-bit CPUscadrpear
[jn: style, update comment] Closes Homebrew/homebrew#25728. Fixes Homebrew/homebrew#26834. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-02-18Stop exporting HOMEBREW_VERBOSE to build environmentJack Nagel
This flag no longer affects the output of the compiler wrappers, since everything is buffered by the build process rather than each individual tool. Additionally, this is a user-facing knob that affects ARGV.verbose?, and the combination of these two issues broke the --quieter feature.
2014-02-18Inline static exception text to remove a rescueJack Nagel
2014-02-14ARGV.help?: anchor to end of stringMisty De Meo
Fixes Homebrew/homebrew#26735.
2014-02-14brew: check for --help and friends in more of ARGVMike McQuaid
Let's check for e.g. --help anywhere in the ARGV array rather than just the first value to avoid brew upgrade --help causing problems. Closes Homebrew/homebrew#26675. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-02-12Delete unused methodJack Nagel
2014-02-11Revert "Recognize --head as an alias for --HEAD"Adam Vandenberg
This reverts commit c32ab0a35a2dfa9b593f759ef0ae8b7af077b0b7. There are other hard-coded uses of HEAD, in build_options for instance. These all need to be fixed before enabling this.
2014-02-09Recognize --head as an alias for --HEADMisty De Meo
Homebrew currently recognizes "--head" during the install process, but rather than actually fetch HEAD it just nags the user to use the correct option. Since we recognize the spelling anyway, this just promotes the lowercase version to an official alias. Closes Homebrew/homebrew#26555.
2014-02-02Correctly find Homebrew-installed fortranCamillo Lugaresi
Fixes Homebrew/homebrew#26338. Closes Homebrew/homebrew#26352. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-01-27Revert "Add python superenv wrapper"Misty De Meo
This reverts commit 90e22e389c539b25fe7864645bfe5e2a9ce7452f.
2014-01-26Add python superenv wrapperMisty De Meo
Closes Homebrew/homebrew#26140. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2014-01-11Fix typoJack Nagel
2014-01-04Pathname: add methods to write env scripts.Mike McQuaid
2014-01-04ENV: add method to prepend and create a PATH.Mike McQuaid
2014-01-04ENV.gcc: remove raiseMisty De Meo
This raise happened in no other ENV methods, and isn't really necessary since fails_with guards against this method actually being called unless gcc-4.2 is actually installed.
2014-01-04Recommit ENV changesMisty De Meo
2014-01-04Revert "stdenv: fix self.cc check"Mike McQuaid
This reverts commit 0e1d52c0d3945ae0ac69383c7734e425b7fbf8f1.
2014-01-04Revert "stdenv: set correct compiler symbol for gcc 4.0"Mike McQuaid
This reverts commit f4dc5614953b3b90acc28c83262d56587b0616b1.
2014-01-03stdenv: set correct compiler symbol for gcc 4.0Misty De Meo
2014-01-03stdenv: fix self.cc checkMisty De Meo
Since ENV.cc/cxx are accessors to ENV, any values being passed through are coerced into strings, which means that a nil `ENV.cc` is actually an empty string - which isn't considered to be false in Ruby. Fixes mistydemeo/tigerbrew#161. Fixes mistydemeo/tigerbrew#135.
2013-12-27superenv: don't accidentally filter out HOMEBREW_TEMPJack Nagel
Fixes Homebrew/homebrew#25471.
2013-12-19install: add --only-dependencies optionSteven Peters
The traditional approach to installing the dependencies of a formula is the following: brew install `brew deps formula` This approach ignores any options that are specified in the parent formula. This pull request adds a --only-dependencies option to brew install that installs the dependencies of a formula with optional flags, but returns before installing the parent formula. Closes Homebrew/homebrew#25272. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-12-14Extract HOMEBREW_TEMP constantJack Nagel
2013-12-14Move Pathname#dynamically_linked_libraries to mach moduleJack Nagel
2013-12-12Report correct file/line in backtraces for attr_rw methodsJack Nagel