Release 1.1.0 of lein-pprint example plugin.
This commit is contained in:
parent
751a75532e
commit
980650efb1
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,3 @@
|
||||||
(defproject lein-pprint "1.0.0"
|
(defproject lein-pprint "1.1.0"
|
||||||
:description "Pretty-print a representation of the project map."
|
:description "Pretty-print a representation of the project map."
|
||||||
:eval-in-leiningen true)
|
:eval-in-leiningen true)
|
||||||
|
|
|
@ -3,5 +3,9 @@
|
||||||
|
|
||||||
(defn pprint
|
(defn pprint
|
||||||
"Pretty-print a representation of the project map."
|
"Pretty-print a representation of the project map."
|
||||||
[project]
|
[project & keys]
|
||||||
(pprint/pprint project))
|
(if (seq keys)
|
||||||
|
(doseq [k keys]
|
||||||
|
(pprint/pprint (project (read-string k))))
|
||||||
|
(pprint/pprint project))
|
||||||
|
(flush))
|
Loading…
Reference in a new issue