Skip to content

Commit 21cb08c

Browse files
committed
uber - exclude Emacs backup files from uberjar inclusion
1 parent 243aa94 commit 21cb08c

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Changelog
22
===========
33

4+
* next
5+
* uber - exclude Emacs backup files from uberjar inclusion (useful with local/git deps)
46
* v0.9.3 e537cd1 on Feb 1, 2023
57
* NO CHANGES - just moved Maven artifact to io.github.clojure groupId to match git dep
68
* v0.9.2 fe6b140 on Jan 17, 2023

src/main/clojure/clojure/tools/build/tasks/uber.clj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@
2828
[#"project.clj"
2929
#"META-INF/.*\.(?:SF|RSA|DSA|MF)"
3030
#"module-info\.class"
31-
#"(.*/)?\.DS_Store"
32-
#"(.*/)?\.keep"
31+
#"(.*/)?\.DS_Store" ;; Mac metadata
32+
#".+~" ;; emacs backup files
33+
#".#.*" ;; emacs
34+
#"(.*/)?\.keep" ;; convention in dirs to keep that are empty
3335
#".*\.pom"
3436
#"(?i)META-INF/(?:INDEX\.LIST|DEPENDENCIES)(?:\.txt)?"])
3537

0 commit comments

Comments
 (0)