Skip to content

Instantly share code, notes, and snippets.

@ndimiduk
Created March 15, 2012 19:17
Show Gist options
  • Save ndimiduk/2046188 to your computer and use it in GitHub Desktop.
Save ndimiduk/2046188 to your computer and use it in GitHub Desktop.
Local: (detached) ~/repos/leiningen/
Head: 5675ec3 Release 1.7.0.
Changes:
Modified src/leiningen/clean.clj
diff --git a/src/leiningen/clean.clj b/src/leiningen/clean.clj
index 73a86f6..98ca015 100644
--- a/src/leiningen/clean.clj
+++ b/src/leiningen/clean.clj
@@ -9,10 +9,7 @@
(re-find (:regex-to-clean project default-regex) (.getName f)))))
(defn files-to-clean [project]
- (concat [(:compile-path project)]
- (filter (clean-jar-pred project) (.listFiles (file (:root project))))
- (for [f (:extra-files-to-clean project)]
- (format f (:version project)))))
+ [(:compile-path project)])
(defn clean
"Remove compiled class files and jars from project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment