Don't create single-segment namespaces in the "lein new" skeleton.
This commit is contained in:
parent
92e9bbf571
commit
e4e4ff5db7
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ Neither group-id nor artifact-id may contain slashes."
|
|||
" :description \"FIXME: write\"\n"
|
||||
" :dependencies [[org.clojure/clojure \"1.1.0\"]\n"
|
||||
" [org.clojure/clojure-contrib \"1.1.0\"]])"))
|
||||
(let [project-ns (.replace (str project-name) "/" ".")
|
||||
(let [project-ns (str (.replace (str project-name) "/" ".") ".core")
|
||||
project-clj (str (apply str (replace {\- \_, \. \/} project-ns))
|
||||
".clj")
|
||||
test-clj (.replace project-clj ".clj" "_test.clj")]
|
||||
|
|
Loading…
Reference in a new issue