mirror of https://github.com/aminya/setup-cpp
0660ca7619 | ||
---|---|---|
.. | ||
__tests__ | ||
src | ||
.eslintrc.json | ||
README.md | ||
jest.config.mjs | ||
package.json | ||
tsconfig.json |
README.md
setup-brew
Setup brew and brew packages
Install
npm install --save setup-brew
Usage
InstallationInfo
(type)
The information about an installation result
SetupBrewOptions
(type)
setupBrew
(function)
Parameters:
- options (
SetupBrewOptions
)
returns: Promise
getBrewBinDir
(function)
Get the path where brew is installed
returns: "/opt/homebrew/bin/" | "/usr/local/bin/" | "/home/linuxbrew/.linuxbrew/bin/"
BrewPackOptions
(type)
installBrewPack
(function)
A function that installs a package using brew
Parameters:
- name (
string
) - version (
string
) - givenOptions (
BrewPackOptions
)
returns: Promise
🤝 Contributing
You can sponsor my work here:
https://github.com/sponsors/aminya
Pull requests, issues and feature requests are welcome. See the Contributing guide.