aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
AgeCommit message (Collapse)Author
2015-04-26Add support for extracting LHA archivesMisty De Meo
2015-04-25ENV.deparallelize: add block form for temporary changeMisty De Meo
Closes #39026.
2015-04-20Don't use deprecated APIJack Nagel
2015-04-19work around missing __debug header in Xcode CLT 6.3Tim D. Smith
uses the LLVM 3.6 debug header from: http://reviews.llvm.org/diffusion/L/browse/libcxx/tags/RELEASE_360/final/include/__debug Workaround for #38514. Closes #38735.
2015-04-09preliminary write control only sandboxXu Cheng
Closes #38361. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-07pathname: prune unnecessary whitespaceDominyk Tiller
Closes #38413. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-31pathname: remove hyphen from BOTTLE_EXTNAME_RXShaun Jackman
A hyphen is not a valid character in a Ruby symbol, and the bottle tag should be a valid Ruby symbol for its use in the bottle stanza. Closes #38235. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-31pathname: Add [-0-9] to BOTTLE_EXTNAME_RXShaun Jackman
Change [a-z_]+(32)? to [-a-z0-9_]+ The Linuxbrew bottle tag is x86_64-linux. Closes #32687. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-26Pass around only pathname objectsJack Nagel
2015-03-26Always yield a path from install_p extensionJack Nagel
2015-03-25Combine assignmentsJack Nagel
2015-03-24Make install_p and install_symlink_p privateJack Nagel
2015-03-24Always pass basename to install_symlink_pJack Nagel
2015-03-24Always pass basename to install_pJack Nagel
Currently, when called with one argument, dst is set to self, i.e. the directory into which the source file should be moved. When called with a second argument (for renames), dst is the full path, including the basename, to the moved file. Instead, let's always pass the full path, which means we can remove the branching logic around computing dst.
2015-03-23Go through regular logic when installing a fileJack Nagel
2015-03-14Use Dir.mktmpdir instead of shelling out to mktempJack Nagel
Closes #37616.
2015-03-10Reduce scope of ensure block, remove conditionalsJack Nagel
2015-03-06test-bot pathname: use Utils.popen_read instead of backticksXu Cheng
Closes #37418. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-02-25pathname: skip directory in env_script_all_filesXu Cheng
Closes #37180. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-02-07Don't prune cellar paths when cellar is in /optJack Nagel
Fixes #35382.
2015-01-05Buffer 16K at a timeJack Nagel
2015-01-04Use more https in urls and updated some lost linksViktor Szakats
Closes #35531. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-03Remove unnecessary encoding commentsJack Nagel
These files do not contain any non-ASCII characters.
2014-12-29Preserve backtrace from original exceptionJack Nagel
2014-12-17Unset LIBRARY_PATH before buildsJack Nagel
See https://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html Closes Homebrew/homebrew-versions#592.
2014-12-09Recognize rpm file magicJack Nagel
2014-11-30Allow searching/installing Homebrew Casks.Mike McQuaid
People want to install things like GIMP using Homebrew so let's make it easier for them to find a decent installation method. Closes #34496. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
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