Skip to content

Commit

Permalink
DS_Store is a file, not a directory
Browse files Browse the repository at this point in the history
  • Loading branch information
pbiggar committed May 4, 2013
1 parent 81d7cd9 commit efad6ca
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dieter-core/src/dieter/asset/manifest.clj
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ namely a vector or list of file names or directory paths."
(file-seq file))))
flatten
(remove #(or (re-matches #".*\.swp$" (.getCanonicalPath %)) ; vim swap files
(re-matches #"/.*\.#.*$" (.getCanonicalPath %)) ; emacs swap files
(re-matches #".*/\.DS_Store/.*" (.getCanonicalPath %)) ; OSX
(re-matches #".*/\.#[^\/]+$" (.getCanonicalPath %)) ; emacs swap files
(re-matches #".*/\.DS_Store$" (.getCanonicalPath %)) ; OSX
(.isDirectory %)))))

(defn compile-manifest [file]
Expand Down

This file was deleted.

Empty file.

0 comments on commit efad6ca

Please sign in to comment.