Skip to content
This repository has been archived by the owner on Jan 23, 2018. It is now read-only.

Commit

Permalink
Point folks at plugin docs for :eval-in-leiningen.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Feb 22, 2012
1 parent 4f28d22 commit e083997
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/leiningen/precate.clj
Expand Up @@ -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))))
Expand Down

0 comments on commit e083997

Please sign in to comment.