From 781e49e4f4da84e24c4145fab85e2552de83db25 Mon Sep 17 00:00:00 2001
From: Thomas Heller
Date: Sat, 13 Oct 2018 11:52:29 +0200
Subject: [PATCH] fix emacs temp file filtering on windows
files do not have a hidden flag unlike mac/linux
---
src/main/shadow/build/classpath.clj | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/main/shadow/build/classpath.clj b/src/main/shadow/build/classpath.clj
index 6c23a8ec..1bd54d36 100644
--- a/src/main/shadow/build/classpath.clj
+++ b/src/main/shadow/build/classpath.clj
@@ -897,6 +897,10 @@
index
{:ignore-patterns
#{#"node_modules/"
+ ;; temp files created by emacs are in the same directory
+ ;; named demo/.#foo.cljs are hidden and ignored on osx/linux
+ ;; but not hidden on windows so need to filter them
+ #"\.#"
;; cljs.core aot
#"\.aot\.js$"
;; closure library test files