11 Commits

Author SHA1 Message Date
Mike McQuaid
21f586c4bf
cmd/{casks,formulae}: handle sharding.
- Allow subdirectories inside `Casks`/`Formula` directories.
- DRY up repeated code with some variables.
2023-07-18 12:57:54 +01:00
Omoeba
b43ed6e765
cmd/formulae,cmd/casks: include casks/formulae in local non-core taps when the API is used
Fixes #15229
2023-05-25 01:49:21 -07:00
Bo Anderson
c2342eca91
Further improvements to API handling in shell 2023-02-19 05:38:13 +00:00
Ian Gregory
9013ca2a22 Prevent brew casks from finding formulae at tap root 2022-11-20 16:22:18 -05:00
hyuraku
18a230dfd5 cmd/casks.sh: repair style 2021-04-27 23:09:58 +09:00
Mike McQuaid
7af68d0f8e
Fix shellcheck failures
A new version of `shellcheck` (I think?) brought us so new warnings and
errors.

To fix:
- pass `--source-path` so we don't need to stop `shellcheck` trying to
  read sourced files every time
- disable some more warnings/errors we don't care about fixing
2021-04-22 13:18:44 +01:00
Kid
de8e87c7d0 Syntax fix 2021-01-08 18:10:25 +08:00
Kid
9b9c0c8626 Add homebrew-items 2021-01-08 18:04:51 +08:00
Kid
c57b65fdb8 Revert "Linuxbrew won't have casks"
This reverts commit 13389ca8c53fdf649d1f9b7b9ba7d38e31baa438.

In case we can extract a common function or stuff.
2021-01-08 17:36:38 +08:00
Kid
13389ca8c5 Linuxbrew won't have casks 2021-01-08 11:20:13 +08:00
Kid
98c968ea2f Add brew casks command 2020-12-30 10:55:26 +08:00