Skip to content

Commit d6ae42e

Browse files
🔍 test: Validate with shellcheck.
1 parent 172e985 commit d6ae42e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.PHONY: install install-bin test
2+
13
PREFIX ?= /usr
24
BINDIR = $(PREFIX)/bin
35

@@ -7,3 +9,6 @@ install-bin:
79
@echo -e '\033[1;32minstalling scripts...\033[0m'
810
mkdir -p "$(DESTDIR)$(BINDIR)"
911
install -Dm755 bin/* "$(DESTDIR)$(BINDIR)"
12+
13+
test:
14+
grep -l '^#!/usr/bin/env *sh' bin/* | xargs shellcheck --color

0 commit comments

Comments
 (0)