Permalink
Browse files

Point folks at plugin docs for :eval-in-leiningen.

  • Loading branch information...
1 parent 4f28d22 commit e083997c52576ad99419d1f975cc74d5f5ce05cc @technomancy committed Feb 22, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/leiningen/precate.clj
@@ -123,6 +123,9 @@
[project]
(when (.startsWith (System/getenv "LEIN_VERSION") "2")
(println "This plugin is designed to be used with Leiningen 1.x."))
+ (when (:eval-in-leiningen project)
+ (println "This plugin is not intended for use on other plugins.")
+ (println "Please see https://github.com/technomancy/leiningen/blob/master/doc/PLUGINS.md"))
(suggest-profiles)
(pprint/with-pprint-dispatch pprint/code-dispatch ; kinda gross =\
(pprint/pprint (project-map-to-defproject (suggest-project-map project))))

0 comments on commit e083997

Please sign in to comment.