diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..3f9cfafd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +deps diff --git a/README.md b/README.md index 235bf1ee..30b12039 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,12 @@ Bash's `errexit` (`set -e`) option when running test cases. If every command in the test case exits with a `0` status code (success), the test passes. In this way, each line is an assertion of truth. +## Installation + +You can install this globally with bpkg. + + curl -Lo- http://get.bpkg.io | sudo bash + sudo bpkg install gzankevich/bats ## Running tests diff --git a/package.json b/package.json index 6bcff0ce..f1072491 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,7 @@ { "name": "bats", - "version": "v0.4.0", - "description": "Bash Automated Testing System", - "install": "./install.sh ${PREFIX:-/usr/local}", - "scripts": [ "libexec/bats", "libexec/bats-exec-suite", "libexec/bats-exec-test", "libexec/bats-format-tap-stream", "libexec/bats-preprocess", "bin/bats" ] + "version": "1.0", + "description": "Bats is a TAP-compliant testing framework for Bash. It provides a simple way to verify that the UNIX programs you write behave as expected", + "install": "./install.sh /usr/local", + "global": "true" } -