Skip to content

Commit

Permalink
Document :clean-non-project-classes and reword help output.
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
technomancy committed Mar 26, 2014
1 parent a296ff8 commit 1995275
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions sample.project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/leiningen/help.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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:")
Expand All @@ -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.")))

0 comments on commit 1995275

Please sign in to comment.