/ Published in: Groovy
Drop this in your project dir and run it. This will recursively kill CVS files and folders.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/usr/bin/env groovy // KillCvs.groovy // Kill all annoying Cvs turd files. ant.delete( includeemptydirs: 'true', verbose: 'true' ) { fileset( dir: '.', includes: '**/CVS/', defaultexcludes: 'false', casesensitive: 'no' ) fileset( dir: '.', includes: '**/.cvsignore', defaultexcludes: 'false', casesensitive: 'no' ) }