Skip to content

Commit 20c0690

Browse files
committed
update README as well
1 parent 6e6b64d commit 20c0690

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ Repository for managing bats-core and its dependencies on homebrew
66

77
OS X users can use Homebrew to install libraries system-wide
88

9-
```
9+
```bash
1010
$ brew install bats-core
1111
```
12+
1213
Then 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
2426
TEST_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
```

0 commit comments

Comments
 (0)