aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/install_renamed.rb
AgeCommit message (Collapse)Author
2016-03-08install_renamed: handle recursive installs.Mike McQuaid
Closes Homebrew/homebrew#49845. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. 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-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-08install_renamed: ignore unused parameter.Mike McQuaid
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 Homebrew/homebrew#26145.
2013-10-30git-etc: remove all code.Mike McQuaid
I've given up on this; too many edge cases. If someone else wants to pick it up then send me a message and I'll walk you through the approach.
2013-10-10git_etc: update based on bottle etc/var changes.Mike McQuaid
2013-10-10Pathname: add cp_path_sub method.Mike McQuaid
This method allows copying a file to a new location by performing a substitution on the pathname.
2013-10-10InstallRenamed: don't overwrite etc files; rename.Mike McQuaid
If an etc file exists on installation instead of overwriting it (or requiring all the manual checks in formula) simply copy it with the extension `.default` appended.