Lein-clobber is a project mainly written in Clojure, it's free.
A leiningen plugin to clobber files and directories
Clobber files and directories
To publish:
$ lein pom && lein jar && lein push
$ lein clobber
$ lein plugin install lein-clobber 1.0.0
Add the following line to your project.clj:
:clobber ["specific.jar", "*a_wildcard_file.gz", "a_directory", "a_dir/*.log"]
Licensed under the EPL; the same license as Clojure.