mirror of
https://github.com/sstephenson/bats.git
synced 2026-02-27 10:08:11 +01:00
Add installer
This commit is contained in:
14
README.md
14
README.md
@@ -119,3 +119,17 @@ in the test file.
|
||||
* `$BATS_TMPDIR` is the location to a directory that may be used to
|
||||
store temporary files.
|
||||
|
||||
### Installing Bats
|
||||
|
||||
Check out a copy of the Bats repository. Then, either add the Bats
|
||||
`bin` directory to your `$PATH`, or run the provided `install.sh`
|
||||
command with the location to the prefix in which you want to install
|
||||
Bats. For example, to install Bats into `/usr/local`,
|
||||
|
||||
$ git clone https://github.com/sstephenson/bats.git
|
||||
$ cd bats
|
||||
$ ./install.sh /usr/local
|
||||
|
||||
Note that you may need to run `install.sh` with `sudo` if you do not
|
||||
have permission to write to the installation prefix.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user