[siesta-commit] siesta/bin .cvsignore,NONE,1.1 run_perltidy,1.2,1.3

[prev] [thread] [next] [lurker] [Date index for 2002/09/17]

From: clampr
Subject: [siesta-commit] siesta/bin .cvsignore,NONE,1.1 run_perltidy,1.2,1.3
Date: 13:45 on 17 Sep 2002
Update of /cvsroot/siesta/siesta/bin
In directory usw-pr-cvs1:/tmp/cvs-serv25911/bin

Modified Files:
	run_perltidy 
Added Files:
	.cvsignore 
Log Message:
perltidy improvements

--- NEW FILE: .cvsignore ---
*.tdy

Index: run_perltidy
===================================================================
RCS file: /cvsroot/siesta/siesta/bin/run_perltidy,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- run_perltidy	12 Sep 2002 12:55:31 -0000	1.2
+++ run_perltidy	17 Sep 2002 12:45:17 -0000	1.3
@@ -1,5 +1,6 @@
 #!/bin/sh
 for file in t/*.t bin/{nacho,tequila} `find lib -name \*.pm` ; do
 	echo tidying $file
-	perltidy -lp -icp -nolq $file && mv $file.tdy $file
-done
\ No newline at end of file
+	test $file -nt $file.tdy && perltidy -lp -icp -nolq $file && cp $file.tdy $file && touch $file.tdy
+done
+true



Generated at 13:57 on 01 Jul 2004 by mariachi 0.52