From: Eric Wong Date: Fri, 14 Jun 2019 16:47:44 +0000 (+0000) Subject: Makefile.PL: add test scripts to syntax checks X-Git-Tag: v1.2.0~174 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=f70abe08b768bb0d5537ef2c3f9091069046d9a2 Makefile.PL: add test scripts to syntax checks I make syntax errors all the time :x --- diff --git a/Makefile.PL b/Makefile.PL index 113f8c77..23822072 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -70,8 +70,8 @@ N = \$\$(( \$\$(nproc 2>/dev/null || gnproc 2>/dev/null || echo 2) + 1 )) -include config.mak -include Documentation/include.mk SCRIPTS := scripts/ssoma-replay -syn_files := $PM_FILES \$(EXE_FILES) \$(SCRIPTS) -my_syntax := \$(addsuffix .syntax, \$(syn_files)) +syn_files = $PM_FILES \$(EXE_FILES) \$(SCRIPTS) \$(wildcard t/*.t) +my_syntax = \$(addsuffix .syntax, \$(syn_files)) changed = \$(shell git ls-files -m) %.syntax ::