Skip to content

Commit

Permalink
cask only targets macOS while brew supports both macOS and Linux.
Browse files Browse the repository at this point in the history
See #188.
  • Loading branch information
kdeldycke committed Dec 20, 2020
1 parent 9ef977d commit 49d3514
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/labeller-content-based.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ jobs:
"πŸ–₯ platform: macOS", "πŸ–₯ platform: Linux"],
"keywords": ["brew", "homebrew", "tap", "formula"]},
{"labels": [
"πŸ“¦ manager: cask",
"πŸ–₯ platform: macOS", "πŸ–₯ platform: Linux"],
{"labels": ["πŸ“¦ manager: cask", "πŸ–₯ platform: macOS"],
"keywords": ["cask"]},
{"labels": [
Expand Down
4 changes: 2 additions & 2 deletions meta_package_manager/managers/homebrew.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Homebrew(PackageManager):
commands.
"""

platforms = frozenset([MACOS])
platforms = frozenset([LINUX, MACOS])

# Vanilla brew and cask CLIs now shares the same version.
# 2.5.0 is the first release to deprecate the use of --json=v1 option.
Expand Down Expand Up @@ -436,7 +436,6 @@ def cleanup(self):

class Brew(Homebrew):

platforms = frozenset([LINUX, MACOS])
name = "Homebrew Formulae"
cli_name = "brew"

Expand Down Expand Up @@ -546,6 +545,7 @@ class Cask(Homebrew):

"""Cask is now part of Homebrew's core and extend it."""

platforms = frozenset([MACOS])
name = "Homebrew Cask"
cli_name = "brew"

Expand Down

0 comments on commit 49d3514

Please sign in to comment.