W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2012

markup-validator commit: perltidy: Do not leave backups behind if there are no errors.

From: Mercurial notifier <nobody@w3.org>
Date: Mon, 16 Jul 2012 14:28:36 +0000
Message-Id: <E1SqmHs-0004z5-CF@mcbain.w3.org>
To: markup-validator updates <www-validator-cvs@w3.org>
changeset:   3292:c33aa0047b4d
tag:         tip
user:        Ville Skyttä <ville.skytta@iki.fi>
date:        Mon Jul 16 17:28:29 2012 +0300
files:       Makefile
description:
perltidy: Do not leave backups behind if there are no errors.


diff -r 3f4654a94723 -r c33aa0047b4d Makefile
--- a/Makefile	Mon Jun 25 18:25:10 2012 +0300
+++ b/Makefile	Mon Jul 16 17:28:29 2012 +0300
@@ -9,7 +9,8 @@
 	misc/bundle/lib/Bundle/W3C/Validator.pm
 GZIP_FILES = $(addsuffix .gz,$(CSS_FILES)) htdocs/scripts/combined.js.gz
 
-PERLTIDY = perltidy --profile=misc/perltidyrc --backup-and-modify-in-place
+PERLTIDY = perltidy --profile=misc/perltidyrc --backup-and-modify-in-place \
+	--backup-file-extension=/
 PERLCRITIC = perlcritic --profile misc/perlcriticrc
 
 YUICOMPRESSOR = java -jar $(wildcard /usr/share/java/yuicompressor*.jar)
Received on Monday, 16 July 2012 14:28:42 UTC

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