Streamline php_modules and php_tools definitions

This commit is contained in:
cytopia
2022-12-11 11:38:34 +01:00
parent a122d6685d
commit 364c28b248
221 changed files with 10 additions and 147 deletions

View File

@@ -64,8 +64,8 @@ def get_tool_options(tool_dirname: str) -> Dict[str, Any]:
return load_yaml(os.path.join(PHP_TOOL_PATH, tool_dirname, "options.yml"))
def get_tool_build(tool_dirname: str) -> Dict[str, Any]:
"""Returns yaml dict build configuration of a PHP tool given by its absolute file path."""
def get_tool_install(tool_dirname: str) -> Dict[str, Any]:
"""Returns yaml dict install configuration of a PHP tool given by its absolute file path."""
return load_yaml(os.path.join(PHP_TOOL_PATH, tool_dirname, "install.yml"))