Skip to content

Commit 2e7be20

Browse files
committed
Document the use of Lein project middleware
It took me quite a while to figure out how this was working...
1 parent 4a6be9f commit 2e7be20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cider_nrepl/plugin.clj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
v))
1717
v))
1818

19+
;; Exists for the sole purpose of modifying the current project's metadata.
20+
;; See https://github.com/technomancy/leiningen/blob/master/doc/PLUGINS.md#project-middleware
1921
(defn middleware
2022
[{:keys [dependencies exclusions] :as project}]
2123
(let [lein-version-ok? (lein/version-satisfies? (lein/leiningen-version) "2.5.2")

0 commit comments

Comments
 (0)