diff options
-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" |