Discussion:
templates does not seem to work when deployed in custom repository
Vladimir Kadychevski
2014-04-24 14:59:15 UTC
Permalink
Hello,

Currently templates work when deployed to clojars or central. It would be
cool it it worked in a corporate environment with private repos. Found
following in new.clj but didn't manage to figure out a clean way to merge
it with profiles.clj ..

Could you please help ?

Regards,


```clojure
(defn- fake-project [name]
{:templates [[(symbol name "lein-template") (if *use-snapshots?*
"(0.0.0,)" "RELEASE")]]
:repositories {"clojars" {:url "http://clojars.org/repo/"
:update :always}
"central" {:url "http://repo1.maven.org/maven2"
:update :always}}})```

Loading...