File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,13 @@ Repository for managing bats-core and its dependencies on homebrew
66
77OS X users can use Homebrew to install libraries system-wide
88
9- ```
9+ ``` bash
1010$ brew install bats-core
1111```
12+
1213Then install the desired libraries.
13- ```
14+
15+ ``` bash
1416$ brew tap bats-core/bats-core
1517$ brew install bats-support
1618$ brew install bats-assert
@@ -22,8 +24,9 @@ For brew installations, load the libraries from $(brew --prefix)/lib/ (the brew
2224
2325``` bash
2426TEST_BREW_PREFIX=" $( brew --prefix) "
25- load " ${TEST_BREW_PREFIX} /lib/bats-support/load.bash"
26- load " ${TEST_BREW_PREFIX} /lib/bats-assert/load.bash"
27- load " ${TEST_BREW_PREFIX} /lib/bats-file/load.bash"
28- load " ${TEST_BREW_PREFIX} /lib/bats-detik/load.bash"
27+ export BATS_LIB_PATH=" ${BATS_LIB_PATH} :${TEST_BREW_PREFIX} /lib"
28+ bats_load_library bats-support
29+ bats_load_library bats-assert
30+ bats_load_library bats-file
31+ bats_load_library bats-detik/detik.bash
2932```
You can’t perform that action at this time.
0 commit comments