Fix minor wording in 'lein new' comments.

[ci skip]
This commit is contained in:
Jean Niklas L'orange 2013-12-02 03:06:30 +01:00
parent 18c53cedf6
commit f0a31e5d38
2 changed files with 5 additions and 6 deletions

View file

@ -37,7 +37,7 @@
;; A lein-newnew template is actually just a function that generates files and
;; directories. We have a bit of convention: we expect that each template is on
;; the classpath and is based in a .clj file at `leiningen/new/`. Making this
;; assumption, a user can simply give us the name of the template he wishes to
;; assumption, users can simply give us the name of the template they wish to
;; use and we can `require` it without searching the classpath for it or doing
;; other time consuming things. If this namespace isn't found and we are
;; running Leiningen 2, we can resolve it via pomegranate first.

View file

@ -91,11 +91,10 @@
"Get the current year. Useful for setting copyright years and such."
[] (+ (.getYear (java.util.Date.)) 1900))
;; It'd be silly to expect people to pull in stencil just to render
;; a mustache string. We can just provide this function instead. In
;; doing so, it is much less likely that a template author will have
;; to pull in any external libraries. Though he is welcome to if he
;; needs.
;; It'd be silly to expect people to pull in stencil just to render a mustache
;; string. We can just provide this function instead. In doing so, it is much
;; less likely that template authors will have to pull in any external
;; libraries. Though they are welcome to if they need.
(def render-text stencil/render-string)
;; Templates are expected to store their mustache template files in