William Ma
2f68aad417
home: Deprecate brew cask home
2020-08-14 11:02:30 -04:00
Markus Reiter
3b2a9c3b55
Merge pull request #8335 from waldyrious/show-cask-descs-in-info-command
...
Show cask description in `brew cask info` command
2020-08-14 00:52:27 +02:00
Waldir Pimenta
53932185e6
Show cask description as None if not present
2020-08-13 22:21:10 +01:00
Waldir Pimenta
619af6a723
Show cask description in brew cask info
command
2020-08-13 22:21:10 +01:00
Markus Reiter
b48bc316e0
Use CLI::Parser
for cask
commands.
2020-08-13 05:15:15 +02:00
William Ma
7d8aad4656
list: Replace Cask::Cmd with class method
2020-08-10 20:35:31 -04:00
Markus Reiter
8a32954940
Move cask/all
to just cask
.
2020-08-09 01:34:07 +02:00
Waldir Pimenta
ffed8fdbb3
Add a desc
stanza to the cask DSL
2020-08-08 23:02:23 +01:00
Seeker
3a2dc79153
cask/create: update template to match new style
2020-08-06 09:39:07 -07:00
miccal
3b2a7a0340
cask/cmd/upgrade: output cask upgrades on new line
2020-08-06 17:25:46 +08:00
miccal
a4f676c556
cask/cmd/update: output message consistency
2020-08-06 16:16:44 +08:00
William Ma
72b0859b8c
Remove invalid HOMEBREW_CASK_OPTS options
2020-08-05 12:22:12 -04:00
William Ma
907d4d7f74
Add shared methods for uninstalling, reinstalling casks
2020-08-05 11:04:40 -04:00
Markus Reiter
b1ca2f7e3c
Add shared method for upgrading casks.
2020-08-05 13:55:04 +02:00
Kien Dang
69189721db
Prepend cask name to cask upgrade error message
2020-07-31 21:51:47 +08:00
Markus Reiter
5cf7ffd93e
Make Cask::Auditor
return a Hash
with warnings and errors.
2020-07-28 09:50:15 +02:00
Mike McQuaid
25db60ebbb
Unify (mostly) Homebrew code style
...
Make the Homebrew/cask and Homebrew/homebrew-core style more closely
match the rest of Homebrew.
To accomplish this:
- Run `brew cask style` to ensure we don't break style there when
making changes or upgrading RuboCop in Homebrew/brew.
- Fix the HomepageMatchesUrl cop to better handle weird input.
- Remove the now unneeded `.rubocop_shared.yml`
- Fix the cask fixtures with `brew cask style --fix`.
- Share more style between Homebrew/brew, casks and formulae.
2020-07-27 12:57:40 +01:00
Markus Reiter
6c050492ee
Pass args
to Analytics
instead of using global args
.
2020-07-25 03:57:43 +02:00
Mike McQuaid
e4eff8ebb6
Merge pull request #7974 from MLH-Fellowship/integrate-doctor
...
doctor: Run cask doctor checks in brew doctor
2020-07-22 13:27:53 +01:00
Sean Molenaar
832073a3c7
cask: add list --json
2020-07-10 21:05:12 +02:00
William Ma
447ea12d38
doctor: Move cask doctor checks to brew diagnostics
2020-07-10 10:36:59 -04:00
Mike McQuaid
ac0665daff
Refer to default branch in links with HEAD
...
Anywhere we can use `blob/master` we can use `blob/HEAD` instead. This
will make life easier if we ever rename our default branch in future
(once/if Git and GitHub provides the necessary tooling to do so).
2020-06-25 11:38:40 +01:00
William Ma
36520b0a9d
cache: fix bug when calling class method
2020-06-22 11:29:46 -04:00
William Ma
cf76f6e721
cache: integrate brew --cache and cask --cache
2020-06-19 10:37:31 -04:00
Mike McQuaid
ae7e58ef78
Merge pull request #7488 from danielbayley/master
...
cat: Allow 'bat' to find existing configuration
2020-06-12 10:45:11 +01:00
Mike McQuaid
aa81982aba
brew style --fix
2020-06-02 09:49:23 +01:00
Sean Molenaar
3567892802
Add notibility checks for casks
2020-05-26 14:21:25 +02:00
Markus Reiter
a7a8569d70
Merge pull request #7607 from reitermarkus/cask-help-usage
...
Implement `brew cask help <command>`.
2020-05-21 21:02:02 +02:00
Daniel Bayley
e477a38958
[WIP] cat: Allow 'bat' to find existing configuration file
2020-05-20 16:51:36 +01:00
Markus Reiter
7f400d8e4e
Fix brew cask <command> --help
.
2020-05-19 19:30:46 +02:00
Markus Reiter
6d9a20614a
Implement brew cask help <command>
.
2020-05-19 19:23:31 +02:00
Tharun
aeede8374f
fixed review changes
2020-05-19 21:41:02 +05:30
Tharun
139ca1d374
Updated analytics method name for cask info
2020-05-17 00:31:12 +05:30
Mike McQuaid
fe6cca3540
cask/cmd/list: remove deprecated -l.
...
This crashes `brew style`.
2020-05-12 09:09:59 +01:00
Mike McQuaid
12bdb38663
rubocop: brew style --fix autocorrections.
2020-05-12 08:32:27 +01:00
Frank Lam
f2fa2c5d30
Add JSON support to brew cask outdated
...
* brew outdated already has JSON support, now users and tools can get
similar results with brew cask outdated --json
2020-04-26 21:13:19 +08:00
Markus Reiter
30c313b7b9
Refactor cask command parsing logic.
2020-04-11 01:29:44 +02:00
Mike McQuaid
c48352aa6c
cask/cmd/list: fix ambiguous params.
2020-03-13 21:16:18 +00:00
Mike McQuaid
ef34fbc634
cask/cmd/style: don't hide warnings.
...
These sometimes display useful RuboCop deprecations.
2019-12-01 14:19:26 +00:00
Markus Reiter
fbf4b0432d
Rescue more errors during cask upgrade
.
2019-11-22 02:50:44 +01:00
L. E. Segovia
a02ef65f68
cask: fix xattr error detection
...
Fixes Homebrew/homebrew-cask#71209
2019-10-23 01:49:09 +00:00
Issy Long
341ea60807
Auto-fix Style/RedundantBegin offenses
...
- This also required auto-fixes for Layout/EmptyLinesAroundBlockBody and
Layout/InconsistentIndentation once the auto-fixer had got rid of the
"redundant begin"s.
2019-10-13 16:04:27 +01:00
Markus Reiter
b6b9cd248c
Refactor brew cask style
.
2019-10-04 23:43:48 +02:00
Markus Reiter
e351e6b31c
Merge pull request #6482 from alecclarke/run-style-checks-on-test-casks
...
Include test casks in the cask style check.
2019-10-04 23:15:59 +02:00
L. E. Segovia
eccdc4c253
Cask: address @reitermarkus's comments
2019-10-03 20:21:32 +00:00
L. E. Segovia
caf7df5840
Cask: add doctor check for xattr
...
CC: Homebrew/homebrew-cask#69660
2019-10-01 11:17:27 +00:00
Alec Clarke
45806f6a97
Include test casks in the cask style check.
...
Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style".
This change includes these test cask paths in the checked paths, and also includes the auto style fixes made by running `brew cask style --fix`.
2019-09-23 08:50:24 -04:00
Markus Reiter
fca5950748
Remove brew cask automerge
.
2019-08-21 11:12:36 +02:00
Jeremy Mayeres
22f43e3670
Remove cask-eid tap from automerge
...
Since the homebrew-cask-eid tap is no longer in use, it should be removed from the command as well.
2019-08-11 16:23:17 +02:00
Mike McQuaid
41461b2c00
upgrade: tweak --dry-run wording.
2019-07-28 14:50:59 +01:00