check: Check perl program syntax

This commit is contained in:
Michal Suchanek authored and Michal Suchánek committed 2024-02-17 12:06:28 +01:00
1 parent 1c757b34a7
commit 9e5156cb67
3 files changed
+8 -1

No files matched your search

+4 -1
View File
@@ -197,11 +197,14 @@ MANPAGES := $(LIBMAN3FILES) $(LIBMAN5FILES) $(PROGDETECTMAN8FILES) $(PROGDUMPMAN
check:: test
test:: shellcheck test-sensors test-lib
test:: shellcheck perlcheck test-sensors test-lib
shellcheck::
shellcheck $(SHELLCHECKFILES)
perlcheck::
for i in $(PERL_SOURCES) ; do perl -c $$i ; done
test-lib:: lib/test/test-scanner
cd lib/test ; ./test-scanner.pl