From 95c5d404fb13576593b5b9314d134e0d44a56140 Mon Sep 17 00:00:00 2001 From: Joseph Werle Date: Mon, 16 Jun 2014 18:56:49 -0400 Subject: [PATCH 1/2] add package.json --- package.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..d6a4122 --- /dev/null +++ b/package.json @@ -0,0 +1,9 @@ +{ + "name": "bats", + "version": "0.3.1", + "description": "Bash Automated Testing System", + "global": "true", + "install": "./install.sh", + "scripts": [ "libexec/bats", "libexec/bats-exec-suite", "libexec/bats-exec-test", "libexec/bats-format-tap-stream", "libexec/bats-preprocess", "bin/bats" ] +} + From 96d3a79b81c1a6edc9764ababa17d12d0dde5773 Mon Sep 17 00:00:00 2001 From: Joseph Werle Date: Mon, 16 Jun 2014 18:57:26 -0400 Subject: [PATCH 2/2] use install correctly --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d6a4122..2183feb 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.3.1", "description": "Bash Automated Testing System", "global": "true", - "install": "./install.sh", + "install": "./install.sh /usr/local", "scripts": [ "libexec/bats", "libexec/bats-exec-suite", "libexec/bats-exec-test", "libexec/bats-format-tap-stream", "libexec/bats-preprocess", "bin/bats" ] }