Release 1.1.0 of lein-pprint example plugin.

This commit is contained in:
Phil Hagelberg 2012-01-29 13:48:29 -08:00
parent 751a75532e
commit 980650efb1
2 changed files with 7 additions and 3 deletions

View file

@ -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."
:eval-in-leiningen true)

View file

@ -3,5 +3,9 @@
(defn pprint
"Pretty-print a representation of the project map."
[project]
[project & keys]
(if (seq keys)
(doseq [k keys]
(pprint/pprint (project (read-string k))))
(pprint/pprint project))
(flush))