Skip to content

Commit

Permalink
Devcards are always .cljs
Browse files Browse the repository at this point in the history
  • Loading branch information
magnars committed Sep 2, 2019
1 parent ec551f8 commit 9d39fbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion defuns/clj-defuns.el
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
(defun clj--cards-file-name-from-src (name)
(s-with name
(s-replace "/src/" "/devcards/")
(s-replace ".clj" "_cards.clj")))
(s-replace ".clj" "_cards.clj")
(s-replace ".cljc" ".cljs")))

(defun clj--is-test? (name)
(string-match-p "/test/" name))
Expand Down

0 comments on commit 9d39fbc

Please sign in to comment.