From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id A3CA31F462 for ; Fri, 14 Jun 2019 17:26:55 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] Makefile.PL: add test scripts to syntax checks Date: Fri, 14 Jun 2019 17:26:55 +0000 Message-Id: <20190614172655.19503-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: I make syntax errors all the time :x --- Makefile.PL | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index 113f8c7..2382207 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 :: -- EW