Skip to content
Browse files

Trim long lines in sample.project.clj.

  • Loading branch information...
1 parent dbb7ca8 commit d590f0ca1e1b64762e1d83950325113dbf4e14bd @technomancy committed Aug 22, 2012
Showing with 6 additions and 7 deletions.
  1. +6 −7 sample.project.clj
View
13 sample.project.clj
@@ -87,7 +87,7 @@
;; the following to share code from the test suite:
:checkout-deps-shares [:source-paths :test-paths
~(fn [p] (str (:root p) "/lib/dev/*"))]
- ;; Load these namespaces on startup to pick up hooks from them.
+ ;; Load these namespaces from within Leiningen to pick up hooks from them.
:hooks [leiningen.hooks.difftest]
;; Predicates to determine whether to run a test or not, take test metadata
;; as argument. See Leiningen tutorial for more information.
@@ -98,8 +98,8 @@
;; other Java interop functionality. Put a regex here to compile all
;; namespaces whose names match.
:aot [org.example.sample]
- ;; The -main function in this namespace will be run at launch (either via `lein run` or if you
- ;; create an uberjar). It should be variadic, like so:
+ ;; The -main function in this namespace will be run at launch
+ ;; (either via `lein run` or from an uberjar). It should be variadic:
;;
;; (ns my.service.runner
;; (:gen-class))
@@ -136,8 +136,8 @@
;; Use a different server-side nREPL handler
:nrepl-handler (clojure.tools.nrepl.server/default-handler)
;; Add server-side middleware to nREPL stack
- :nrepl-middleware [;; note that symbols are resolved to the vars they name
- my.nrepl.thing/wrap-amazingness
+ :nrepl-middleware [my.nrepl.thing/wrap-amazingness
+ ;; TODO: link to more detailed documentation
;; middleware without appropriate metadata
;; (see clojure.tools.nrepl.middleware/set-descriptor!
;; for details) will simply be appended to the stack
@@ -271,8 +271,7 @@
:scm {:name "git" :tag "098afd745bcd" :url "http://127.0.0.1/git/my-project"}
;; include arbitrary xml in generated pom.xml file
- :pom-addition [:developers [:developer [:name "My Name"]]]
- )
+ :pom-addition [:developers [:developer [:name "My Name"]]])
;;; Environment Variables used by Leiningen

0 comments on commit d590f0c

Please sign in to comment.
Something went wrong with that request. Please try again.