File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Change log
2
2
3
3
## Unreleased
4
+ - [ #470 ] ( https://github.com/clojure-emacs/clj-refactor.el/issues/470 ) : Choose deps.edn over pom.xml as project file
4
5
5
6
## 2.5.1 (2021-02-16)
6
7
Original file line number Diff line number Diff line change @@ -815,7 +815,7 @@ A new record is created to define this constructor."
815
815
816
816
(defun cljr--project-dir ()
817
817
(or
818
- (thread-last '(" project.clj" " build.boot" " pom.xml " " deps.edn" " shadow-cljs.edn" )
818
+ (thread-last '(" project.clj" " build.boot" " deps.edn" " shadow-cljs.edn" " pom.xml " )
819
819
(mapcar 'cljr--locate-project-file )
820
820
(delete 'nil )
821
821
car )
@@ -831,11 +831,11 @@ A new record is created to define this constructor."
831
831
(and (file-exists-p file) file))
832
832
(let ((file (expand-file-name " build.boot" project-dir)))
833
833
(and (file-exists-p file) file))
834
- (let ((file (expand-file-name " pom.xml" project-dir)))
835
- (and (file-exists-p file) file))
836
834
(let ((file (expand-file-name " deps.edn" project-dir)))
837
835
(and (file-exists-p file) file))
838
836
(let ((file (expand-file-name " shadow-cljs.edn" project-dir)))
837
+ (and (file-exists-p file) file))
838
+ (let ((file (expand-file-name " pom.xml" project-dir)))
839
839
(and (file-exists-p file) file)))))
840
840
841
841
(defun cljr--project-files ()
You can’t perform that action at this time.
0 commit comments