Created
March 15, 2012 19:17
-
-
Save ndimiduk/2046188 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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