W3C home > Mailing lists > Public > www-validator-cvs@w3.org > November 2009

validator Makefile,1.4,1.5

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 24 Nov 2009 18:34:02 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1ND0DC-0003bw-Fb@lionel-hutz.w3.org>
Update of /sources/public/validator
In directory hutz:/tmp/cvs-serv13824

Modified Files:
	Makefile 
Log Message:
Add perlcritic(1) profile and a Makefile target for running it.

Index: Makefile
===================================================================
RCS file: /sources/public/validator/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Makefile	24 Nov 2009 17:53:22 -0000	1.4
+++ Makefile	24 Nov 2009 18:34:00 -0000	1.5
@@ -3,9 +3,13 @@
 	misc/bundle/lib/Bundle/W3C/Validator.pm
 
 PERLTIDY = perltidy --profile=misc/perltidyrc --backup-and-modify-in-place
+PERLCRITIC = perlcritic --profile misc/perlcriticrc
 
 all:
 
+perlcritic:
+	$(PERLCRITIC) $(PERL_FILES)
+
 perltidy:
 	@for file in $(PERL_FILES) ; do \
 		echo "$(PERLTIDY) $$file" ; \
Received on Tuesday, 24 November 2009 18:34:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:40 UTC