aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
AgeCommit message (Collapse)Author
2014-11-09Pull initialization code out of begin blockJack Nagel
2014-11-03Add ARGV.git?Jack Nagel
2014-10-29Always set sysroot for Xcode-only systemsJack Nagel
Fixes #33431.
2014-09-28Make inreplace errors fatalJack Nagel
Closes #32649. Closes #32703.
2014-09-27Intercept calls to sub! in inreplace blocksJack Nagel
2014-09-26Clean up inreplace regexpsJack Nagel
- use literal syntax - escape interpolated variables - remove intermediate variables - remove unnecessary capture
2014-09-20Make Pathname#atomic_write truly atomicJack Nagel
As we know, files cannot be moved across filesystems atomically. In that case, FileUtils.mv will make a copy. But if we create the temp file in the same directory as the target, we can avoid this and use File.rename directly. Additionally, the rename should be the absolute last step, so that the original file is preserved if altering ownership and permissions fails.
2014-09-18Call reset in the superclass implementation of setup_build_environmentJack Nagel
2014-09-18Make --cc override the compiler selectorJack Nagel
2014-09-18Replace CompilerQueue with predetermined priority listsJack Nagel
2014-09-18Remove fails_with? from the formula instanceJack Nagel
2014-09-11Use only strings in ENV.x11Jack Nagel
2014-09-11The build environment should only deal with stringsJack Nagel
2014-09-11Don't directly assign Pathname objects to environment variablesJack Nagel
Fixes #32234.
2014-09-07Clear GOBIN in environment setupJack Nagel
Closes #32014.
2014-08-29Add a method for retrieving only flags from ARGVJack Nagel
2014-08-28Simplify implementation of ARGV.flag? and ARGV.switch?Jack Nagel
2014-08-28Use two-argument form of String#sliceJack Nagel
2014-08-28Implement ARGV.named in terms of ARGV.options_onlyJack Nagel
2014-08-28ARGV.spec should be privateJack Nagel
2014-08-26etc.install: handle recursive directory installs.Mike McQuaid
We need to install the helper module not just on `etc` but also on all subdirectories of it too. Also, handle the case where we install a subdirectory with etc.install. Closes #26145.
2014-08-24Fix redefinition of x11 reader method in superenvJack Nagel
2014-08-18Don't overwrite optimization flag map in ENV.clangJack Nagel
2014-08-14Fix mktmp to be generic as-per SUS/BSD.xxxajk
Closes #31586. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-08-09Pull effective arch detection into a methodJack Nagel
2014-08-06Use opt_binJack Nagel
2014-08-03Add another TODOJack Nagel
2014-08-03Remove an is_a checkJack Nagel
2014-07-29Pathname.binreadAdam Vandenberg
2014-07-27backport binwrite from Ruby 2.1+Adam Vandenberg
2014-07-27Rename write_binary to binwriteAdam Vandenberg
2014-07-27add Pathname.write_binaryAdam Vandenberg
2014-07-18Check nil? || empty? instead of to_s.empty?Jack Nagel
2014-07-18Drop pointless to_s callJack Nagel
2014-07-17Remove commentary from error messagePhillip Calvin
It might be best not to use the word "lame" here, as it's often considered to be an ableist slur. Closes #30915. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-07-13nudge formattingAdam Vandenberg
Needed for Emacs' ruby highlighting to work past this point in the file.
2014-07-13No need to cache lookup that is only done onceJack Nagel
2014-07-10Raise Errno::ENOENT instead of RuntimeError from Pathname#installJack Nagel
2014-07-10Make comment in Pathname#install more accurateJack Nagel
2014-07-05Remove a RUBY_VERSION check, add a FIXME commentJack Nagel
2014-07-03stop Xcode tools from overriding deps when CLT is not installedCamillo Lugaresi
Closes #30641. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-07-03Replace ComparableSet with a Requirements collectionJack Nagel
2014-07-02Accept -s as shorthand for --build-from-sourceJack Nagel
This is experimental and will be reverted if it causes problems. Closes #30392.
2014-07-02Move constants so we don't have to load all of ENV to get themJack Nagel
2014-07-01Replace find_all + each with grepJack Nagel
2014-06-26Use canonical_name in the exception messageJack Nagel
2014-06-26Use canonical_name when checking LinkedKegs and optJack Nagel
name is the user-provided string and may be an alias, path, or URL.
2014-06-26The rack variable is only used inside the block nowJack Nagel
2014-06-26Remove a dead branch from ARGV.kegsJack Nagel
rack cannot be nil at the point where FormulaUnavailableError is raised, so we don't need a branch to deal with that.
2014-06-26Simplify NoSuchKegError conditionJack Nagel
dirs will be empty if the rack directory does not exist.