Permalink
Browse files

Release 1.1.0 of lein-pprint example plugin.

  • Loading branch information...
1 parent 751a755 commit 980650efb1cfc7f5193f0d044e2737c44149d09c @technomancy committed Jan 29, 2012
Showing with 7 additions and 3 deletions.
  1. +1 −1 lein-pprint/project.clj
  2. +6 −2 lein-pprint/src/leiningen/pprint.clj
View
@@ -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)
@@ -3,5 +3,9 @@
(defn pprint
"Pretty-print a representation of the project map."
- [project]
- (pprint/pprint project))
+ [project & keys]
+ (if (seq keys)
+ (doseq [k keys]
+ (pprint/pprint (project (read-string k))))
+ (pprint/pprint project))
+ (flush))

0 comments on commit 980650e

Please sign in to comment.