From 199527588a23757d782c2c3a26126f0f4594cb0b Mon Sep 17 00:00:00 2001 From: Phil Hagelberg Date: Wed, 26 Mar 2014 13:32:55 -0700 Subject: [PATCH] Document :clean-non-project-classes and reword help output. [ci skip] --- sample.project.clj | 3 +++ src/leiningen/help.clj | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sample.project.clj b/sample.project.clj index f311127ed..27c161d24 100644 --- a/sample.project.clj +++ b/sample.project.clj @@ -274,6 +274,9 @@ ;; vector - ^{:protect false} :clean-targets [:target-path :compile-path :foobar-paths [:baz-config :qux-path] "out"] + ;; Workaround for http://dev.clojure.org/jira/browse/CLJ-322 by deleting + ;; compilation artifacts for namespaces that come from dependencies. + :clean-non-project-classes true ;; Paths to include on the classpath from each project in the ;; checkouts/ directory. (See the FAQ in the Readme for more details ;; about checkout dependencies.) Set this to be a vector of diff --git a/src/leiningen/help.clj b/src/leiningen/help.clj index 8e59e0557..7fabab9d0 100644 --- a/src/leiningen/help.clj +++ b/src/leiningen/help.clj @@ -156,7 +156,7 @@ deploying, mixed-source, templates, and copying info." (println "\nGlobal Options:") (println " -o Run a task offline.") (println " -U Run a task after forcing update of snapshots.") - (println " -h, --help Print this help.") + (println " -h, --help Print this help or help for a specific task.") (println " -v, --version Print Leiningen's version.") (when-let [aliases (:aliases project)] (println "\nThese aliases are available:") @@ -165,4 +165,4 @@ deploying, mixed-source, templates, and copying info." (println (str k ": " explanation)) (println (str k ", expands to " v))))) (println "\nSee also: readme, faq, tutorial, news, sample, profiles," - "deploying, gpg, mixed-source, templates, and copying."))) + "deploying, gpg,\nmixed-source, templates, and copying.")))