diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-03-10 09:35:27 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-03-10 09:43:45 +0100 |
commit | 20383605727e433f5b0daa6d98a0e6617b2ad416 (patch) | |
tree | 3e70b1145895ad03f7524eaa89427d7b8e8d14df | |
parent | 6e2c43bbde416946eeebd174ee6b5b4b15ef19aa (diff) |
Update qa target
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -13,6 +13,8 @@ PKG_VERSION=0.0.0 PKG_WORKDIR:=$(or $(PKG_WORKDIR),$(shell mktemp -d)) PKG_ROOT:=$(PKG_WORKDIR)/bashtard-$(PKG_VERSION) +rwildcard=$(foreach d,$(wildcard $(1:=/*)),$(call rwildcard,$d,$2) $(filter $(subst *,%,$2),$d)) + all: : # No build step required, use `make install` to install this program @@ -65,8 +67,12 @@ pkg-debian: dpkg-deb -b "$(PKG_ROOT)" "dist/bashtard-$(PKG_VERSION).deb" qa: + # Check licenses reuse lint - shellcheck -x bin/bashtard **/*.bash + + # Check code + shellcheck -s sh bin/bashtard + shellcheck -s bash $(call rwildcard,.,*.bash) share: mkdir -pv -- "$(PREFIX)$(DESTDIR)/share/bashtard" |