Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix the app template to use the `namespace` variable when appropriate #55

Merged
merged 1 commit into from

2 participants

@technomancy technomancy merged commit efedcb9 into Raynes:master
@technomancy
Collaborator

Thanks!

@musicalchair

My pleasure.

But, it looks like you forgot to push the commit bumping the lein-newnew version number. The new version is published to clojars but references an unpublished commit

@technomancy
Collaborator

Quite right; good catch. Just pushed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
2  src/leiningen/new/app/project.clj
@@ -4,4 +4,4 @@
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.4.0"]]
- :main {{raw-name}}.core)
+ :main {{namespace}}.core)
View
2  src/leiningen/new/app/test.clj
@@ -1,6 +1,6 @@
(ns {{namespace}}.core-test
(:use clojure.test
- {{name}}.core))
+ {{namespace}}.core))
(deftest a-test
(testing "FIXME, I fail."
Something went wrong with that request. Please try again.