mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-25 21:31:09 +08:00
Add support for Homebrew and Chocolatey (#9187)
This commit is contained in:
@@ -9,12 +9,7 @@ distributions = sys.argv[1:]
|
||||
if not distributions:
|
||||
distributions = os.listdir("stubs")
|
||||
|
||||
metadata_mapping = {
|
||||
"linux": "apt_dependencies",
|
||||
# We could add others here if we run into stubs that need it:
|
||||
# "darwin": "brew_dependencies",
|
||||
# "win32": "choco_dependencies",
|
||||
}
|
||||
metadata_mapping = {"linux": "apt_dependencies", "darwin": "brew_dependencies", "win32": "choco_dependencies"}
|
||||
|
||||
if platform in metadata_mapping:
|
||||
for distribution in distributions:
|
||||
|
||||
Reference in New Issue
Block a user