Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bats-core/homebrew-bats-core
https://github.com/bats-core/homebrew-bats-core
homebrew
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bats-core/homebrew-bats-core
- Owner: bats-core
- Created: 2021-08-29T19:50:37.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-06T22:11:59.000Z (3 months ago)
- Last Synced: 2024-08-07T01:01:21.303Z (3 months ago)
- Topics: homebrew
- Language: Ruby
- Size: 59.6 KB
- Stars: 3
- Watchers: 7
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# homebrew-bats-core
Repository for managing bats-core and its dependencies on homebrew
## Installation
OS X users can use Homebrew to install libraries system-wide
```
$ brew install bats-core
```
Then install the desired libraries.
```
$ brew tap bats-core/bats-core
$ brew install bats-support
$ brew install bats-assert
$ brew install bats-file
$ brew install bats-detik
```For brew installations, load the libraries from $(brew --prefix)/lib/ (the brew prefix is /usr/local by default):
```bash
TEST_BREW_PREFIX="$(brew --prefix)"
load "${TEST_BREW_PREFIX}/lib/bats-support/load.bash"
load "${TEST_BREW_PREFIX}/lib/bats-assert/load.bash"
load "${TEST_BREW_PREFIX}/lib/bats-file/load.bash"
load "${TEST_BREW_PREFIX}/lib/bats-detik/load.bash"
```