Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #371 from timmc/31-sf-star

Patch for reopened #31 (third time's the charm)
  • Loading branch information...
commit 97f5fb77da9ab96ca52dd959401b3d61c53e1fa2 2 parents 0a03006 + 032e892
@technomancy authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/leiningen/core.clj
View
4 src/leiningen/core.clj
@@ -60,6 +60,8 @@ Warning: alpha; subject to change."
identity
args))
+(def ^{:private true} match-jar-sig-file #"(?i)^META-INF/[^/]*\.SF$")
+
(defmacro defproject [project-name version & args]
;; This is necessary since we must allow defproject to be eval'd in
;; any namespace due to load-file; we can't just create a var with
@@ -111,7 +113,7 @@ Warning: alpha; subject to change."
root#))
:jar-exclusions (:jar-exclusions m# [#"^\."])
:uberjar-exclusions (:uberjar-exclusions
- m# [#"^META-INF/DUMMY.SF"])
+ m# [match-jar-sig-file])
:root root#)))
(when (:test-resources-path m#)
(println (str "WARNING: :test-resources-path is deprecated; use "
Please sign in to comment.
Something went wrong with that request. Please try again.