From 3637e8adc4f96dc6971475c4715ff898ed34cc52 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 17 Nov 2022 11:51:37 -0300 Subject: Makefile: Exclude symlinks from "git ls-files" listing --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index a9df1f2..9907b46 100644 --- a/Makefile +++ b/Makefile @@ -90,11 +90,13 @@ $(lisp-images): $(XDG_CONFIG_HOME)/lisp-cli/init.lisp bin/cl bin/li check-shellcheck: git ls-files | \ + sor 'test -f' | \ xargs awk '/^#!\/bin\/sh$$/ { print FILENAME } { nextfile }' | \ xargs shellcheck -x check-perlcritic: git ls-files | \ + sor 'test -f' | \ xargs awk '/^#!\/usr\/bin\/env perl$$/ { print FILENAME } { nextfile }' | \ xargs perlcritic --exclude=subroutine -- cgit v1.2.3