Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Markus Reiter
b9f3589ab7
Test casks are already tested covered brew style
.
2020-09-01 19:26:46 +02:00
Markus Reiter
b4d14c193f
Use Homebrew::Style
for brew cask style
.
2020-09-01 18:34:26 +02:00
Markus Reiter
2b029b2744
Remove need for separate .rubocop_cask.yml
.
2020-09-01 12:52:59 +02:00
Markus Reiter
8fc4ac0ad7
Document Cask::Cmd
.
2020-08-26 03:13:59 +02:00
Markus Reiter
b48bc316e0
Use CLI::Parser
for cask
commands.
2020-08-13 05:15:15 +02: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
b6b9cd248c
Refactor brew cask style
.
2019-10-04 23:43:48 +02: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
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
efc3c0c4c0
Use bundle install
in more places.
...
This provides a more consistent version for `rubocop` than relying on
`Homebrew.install_gem_setup_path!` (and we really want `brew style` to
provide consistent output).
2019-01-08 15:08:21 +00:00
Markus Reiter
04908dcb19
Fix RuboCop for Casks.
2018-11-12 05:01:33 +01:00
Mike McQuaid
109e974c38
Cleanup rubocop-cask references.
2018-11-08 15:54:47 +00:00
Markus Reiter
a838b372de
Fix brew cask style
with relative paths.
2018-10-17 13:51:51 +02:00
Markus Reiter
8aab6dc03d
Run rubocop
in temporary directory to skip reading parent config.
2018-10-16 14:55:00 +02:00
Markus Reiter
a84a1c63db
Rename Hbc
module to Cask
.
2018-09-06 09:30:52 +02:00
Mike McQuaid
1ae2326984
Rename Cask::CLI to Cask::Cmd.
2018-09-04 09:56:58 +01:00
Mike McQuaid
1d86d7a7c7
cask: move cask/cli to cask/cmd.
2018-09-04 09:56:57 +01:00