From b38099416b9e90c1bcc0e2ebc32eab6284254c66 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Wed, 11 May 2022 14:32:27 +0200
Subject: Add a qa target
---
Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index fd8d01b..5b3436d 100644
--- a/Makefile
+++ b/Makefile
@@ -35,6 +35,10 @@ man:
scdoc < share/doc/bashtard.7.scd > "$(DESTDIR)/share/man/man7/bashtard.7"
scdoc < share/doc/playbooks.d.7.scd > "$(DESTDIR)/share/man/man7/playbooks.d.7"
+qa:
+ reuse lint
+ shellcheck bin/bashtard **/*.bash
+
share:
mkdir -pv -- "$(DESTDIR)/share/bashtard"
cp -rv -- \
@@ -42,4 +46,4 @@ share:
share/os.d \
"$(DESTDIR)/share/bashtard"
-.PHONY: install uninstall bin lib man share
+.PHONY: install uninstall qa bin lib man share
--
cgit v1.1