pashage

Yet Another Opinionated Re-engineering of the Unix Password Store
git clone https://git.instinctive.eu/pashage.git
Log | Files | Refs | README | LICENSE

commit 760ab914f926c553d5ee50ab7528c3f2c26b55a8
parent 6ef534d7ba55ef75b039a297962705061a83986f
Author: Natasha Kerensikova <natgh@instinctive.eu>
Date:   Sun,  6 Oct 2024 16:41:28 +0000

Coverage analysis is split between isolated and integrated suites
Diffstat:
MMakefile | 18++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -20,7 +20,7 @@ PLATFORM != uname | cut -d _ -f 1 | tr '[:upper:]' '[:lower:]' pashage: bin/pashage-$(PLATFORM).sh cp -i "$>" "$@" -.PHONY: all check clean cov tests validate +.PHONY: all check clean cov1 cov2 tests validate all: bin/pashage-freebsd.sh @@ -30,13 +30,23 @@ check: bin/pashage-freebsd.sh clean: rm -rf pashage bin/ -cov: - shellspec --kcov -s bash +cov1: + shellspec --kcov -s bash \ + spec/internal_spec.sh \ + spec/scm_spec.sh \ + spec/action_spec.sh \ + spec/usage_spec.sh + grep -q '"covered":"100.0"' coverage/index.js + +cov2: + shellspec --kcov -s bash \ + spec/pass_spec.sh \ + spec/command_spec.sh tests: shellspec -validate: check tests cov +validate: check tests cov1 cov2 bin/pashage-freebsd.sh: src/platform-freebsd.sh src/pashage.sh src/run.sh mkdir -p bin