39 Commits

Author SHA1 Message Date
Markus Reiter
9e821863d0 Pass along CLI::Binaries. 2017-05-22 02:51:16 +02:00
Markus Reiter
cb17a80577 Merge pull request #2362 from joshka/install-uninstall-messages
Install uninstall messages
2017-04-23 02:40:52 +02:00
Markus Reiter
1cd125e7e7 Refactor cask metadata directory methods. 2017-04-21 01:28:21 +02:00
Joshua McKinney
cb28ab640e Refactor uninstall existing cask 2017-04-18 01:49:54 -07:00
Joshua McKinney
a90d1e1699 Installer#reinstall instead of #install :reinstall
Call an explicit method on Installer to reinstall rather than using a
flag to indicate when we're reinstalling a cask
2017-03-27 01:32:53 -05:00
Joshua McKinney
3703ef1885 Show messages when (un)installing Casks
Addresses an issue where it can be unclear at times exactly which part
of the (un|re)installation processes is reporting an error. See
https://github.com/caskroom/homebrew-cask/issues/30968
2017-03-19 13:14:16 -05:00
Joshua McKinney
367fdb9718 Refactor brew cask reinstall
The implementation of the reinstall command was the same as
Installer#install, aside from the uninstall of the existing cask.
Moved this within the class to DRY up the implementation.
2017-03-19 13:14:16 -05:00
Markus Reiter
ed10135da4 Replace Hbc.load with CaskLoader.load. 2017-03-16 19:16:42 +01:00
Markus Reiter
31d7d6e5f3 Remove old metadata when installing with --force. 2017-03-11 21:09:13 +01:00
Markus Reiter
2a21991b1f Make sure uninstall is called before artifacts are removed. 2017-02-16 17:12:38 +01:00
Markus Reiter
486fa0bf19 Fix uninstall also running zap. 2017-02-10 07:49:21 +01:00
Markus Reiter
4a4a162223 Let Artifact::for_cask return artifact instances. 2017-02-07 00:07:59 +01:00
Markus Reiter
e1ea7bb721 Refactor Cask Artifacts. 2017-02-05 07:47:54 +01:00
Markus Reiter
f23c127cde Fix installer deleting artifacts if they already exist. 2017-01-23 14:19:14 +01:00
Markus Reiter
3088faaf9c Fix error message when cask fails to install. 2016-12-16 18:22:04 +01:00
Markus Reiter
5785f54f4b Revert install_artifacts if one artifact fails to install. 2016-12-04 23:19:15 +01:00
Markus Reiter
e6d9248787 Separate fetch and stage steps in Hbc::Installer. 2016-12-04 23:19:15 +01:00
Markus Reiter
7d7ca0cb1a Use Homebrew’s Emoji class in cask installer. 2016-12-04 23:19:15 +01:00
Markus Reiter
006f25d8cf Use Homebrew to detect if X11 is installed. 2016-12-04 23:19:15 +01:00
Markus Reiter
84b2276fd8 Use guard clauses. 2016-11-13 23:00:47 +01:00
Markus Reiter
8dd8273d5e Remove unnecessary Hbc::Locations aliases. 2016-11-10 14:48:53 +01:00
Markus Reiter
8d15bddedb Auto-correct block delimiters. 2016-10-23 14:44:14 +02:00
Markus Reiter
ad8ae33c1f Fix spacing and indentation. 2016-10-23 14:32:04 +02:00
Markus Reiter
ae7b944238 Align end with beginning of line where if/unless is. 2016-10-23 14:32:03 +02:00
Markus Reiter
8e9eae695a Use () as delimiters for %Q and %q literals. 2016-10-23 14:32:03 +02:00
Markus Reiter
082bd5e98a Change A Cask for #{token} is already installed. message. 2016-10-02 19:53:43 +02:00
Markus Reiter
75e8b59aad Add Formatter module. 2016-10-01 20:00:49 +02:00
Markus Reiter
6d8ee395fa Refactor Tty. 2016-10-01 20:00:49 +02:00
Markus Reiter
b86c8efb79 Cask: Use nested classes and modules. 2016-09-24 16:00:58 +02:00
Josh Hagins
8e1169085d Merge pull request #1029 from wickles/patch-1
Prevent Accessibility access for macOS >= 10.12
2016-09-23 11:17:36 -05:00
Markus Reiter
59212445da Run rubocop —auto-correct. 2016-09-23 15:30:05 +02:00
Alex
3c31e29d5c Simplify accessibility access disable warnings 2016-09-21 10:56:26 -07:00
Alex
d282565bd0 Improved accessibility access conditional style 2016-09-21 08:33:10 -07:00
Alex
169a079903 Make wording more similar to existing messages 2016-09-20 18:19:48 -07:00
Alex
15f3f20656 Prevent Accessibility access for macOS >= 10.12
See https://github.com/caskroom/homebrew-cask/issues/24519

Feel free to suggest alternative wording and such.
2016-09-19 11:18:17 -07:00
Mike McQuaid
9c09f05730 Merge pull request #794 from AnastasiaSulyagina/tty
cask tty removed
2016-08-26 10:05:35 +01:00
Markus Reiter
85635a1e19 Merge Cask’s Pathname extension with Homebrew’s. 2016-08-24 00:43:32 +02:00
AnastasiaSulyagina
65579f27dd cask tty removed 2016-08-23 23:44:45 +03:00
AnastasiaSulyagina
e81f4ab7de init 2016-08-19 14:50:14 +03:00