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

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