Skip to content

Commit 8b0fe23

Browse files
authored
Merge pull request sstephenson#180 from cpswan/cpswan-git-bash
Added instructions for installing on Git Bash
2 parents 4bb9742 + e4312a9 commit 8b0fe23

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,16 @@ install Bats into `/usr/local`,
132132
__Note:__ You may need to run `install.sh` with `sudo` if you do not have
133133
permission to write to the installation prefix.
134134

135+
### Installing Bats from source onto Windows Git Bash
136+
137+
Check out a copy of the Bats repository and install it to `$HOME`. This
138+
will place the `bats` executable in `$HOME/bin`, which should already be
139+
in `$PATH`.
140+
141+
$ git clone https://github.com/bats-core/bats-core.git
142+
$ cd bats-core
143+
$ ./install.sh $HOME
144+
135145
### Running Bats in Docker
136146

137147
There is an official image on the Docker Hub:

0 commit comments

Comments
 (0)