aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/linkapps.rb
AgeCommit message (Collapse)Author
2018-01-21(un)linkapps: hide from manpage, use odeprecated.Mike McQuaid
2017-10-18Use “squiggly” heredocs.Markus Reiter
2017-03-11Add `Formatter::pluralize`.Markus Reiter
2017-01-09Deprecate brew (un)linkapps.Mike McQuaid
Unfortunately `brew linkapps` cannot behave nicely with e.g. Spotlight using either aliases or symlinks and Homebrew formulae do not build "proper" `.app` bundles that can be relocated. Instead, please consider using `brew cask` and migrate formulae using `.app`s to casks.
2016-10-02Remove `private_class_method` from commands.Markus Reiter
2016-10-02Use `module_function` for commands.Markus Reiter
2016-09-18Use new "macOS" naming where appropriate.Mike McQuaid
Not quite a mass replacement as I've used OS X and Mac OS X where describing specific older versions and added compatibility methods for things in the DSL.
2016-09-17rubocop --auto-correct all hash-rocket usage.Mike McQuaid
2016-04-10Add all the top level commentsMax Nordlund
2016-04-06linkapps: modernizeMartin Afanasjew
Simplify code by using `Pathname` methods as much as possible. Also avoid calling external commands for basic functionality like symlink creation, refactor code that can be shared with `brew unlinkapps`, and print a summary line at the end (if symlinks were created).
2015-10-20linkapps: stop linking .app bundles from 'bin/'Martin Afanasjew
`Keg#app_installed?` only checks the formula prefix and `libexec/` for .app bundles to determine if a formula provides any. This is used by `Caveats#app_caveats` to generate an appropriate message. The same list should be used by `brew linkapps` for consistency. Reduce likelihood of future inconsistencies by creating `Keg#apps` and using it in place of the duplicate code. Closes Homebrew/homebrew#45173. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-14add Formula.racksXu Cheng
Also exclude symlink when enumerating installed racks.
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-17linkapps: output nothing if no apps existDominyk Tiller
The standard message can be somewhat confusing (#38695) in that it outputs “finished linking” language regardless of whether an app is actually present/linked or not. This solution just stops it saying anything if there’s no app in the directory. It needs a little tidying in the output here, but it’s a discussion point. Closes Homebrew/homebrew#38728. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-19(un)linkapps: allow unlink/link specific formulae.Xu Cheng
Closes Homebrew/homebrew#35080. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-06-19Only "extend self" once on the Homebrew moduleJack Nagel
2014-03-10Drop executable bit from linkapps.rbJack Nagel
2013-09-17make linkapps officialAdam Vandenberg