From a82aa19df411cad9a570f67f5a177ab9dc45a631 Mon Sep 17 00:00:00 2001 From: Sam Likins Date: Mon, 17 Apr 2023 06:59:56 -0700 Subject: [PATCH 1/2] Added BPKG package file. --- bpkg.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 bpkg.json diff --git a/bpkg.json b/bpkg.json new file mode 100644 index 0000000..f30f739 --- /dev/null +++ b/bpkg.json @@ -0,0 +1,5 @@ +{ + "name": "shUnit2", + "description": "xUnit unit test framework for Bourne based shell scripts", + "scripts": [ "shunit2" ] +} From f09bb0c5f08cc262346b63d94b3ef26a23754fbd Mon Sep 17 00:00:00 2001 From: Sam Likins Date: Sun, 23 Jul 2023 21:41:47 -0700 Subject: [PATCH 2/2] Expounded upon the BPKG package file. --- bpkg.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/bpkg.json b/bpkg.json index f30f739..b669441 100644 --- a/bpkg.json +++ b/bpkg.json @@ -1,5 +1,19 @@ { "name": "shUnit2", "description": "xUnit unit test framework for Bourne based shell scripts", - "scripts": [ "shunit2" ] + + "license": "Apache License 2.0", + + "scripts": [ "shunit2" ], + "install": "install -b shunit2 ${PREFIX:-/usr/local}/bin/shunit2", + + "commands": { + "githooks": "./init_githooks.sh", + "test": "./test_runner $@" + }, + + "commands-description": { + "githooks": "Initialize the local git hooks in this repository", + "test": "Runs all the unit tests that can be found, and generates a nice report of the tests" + } }