librelist archives

« back to archive

Fwd: templates does not seem to work when deployed in custom repository

Fwd: templates does not seem to work when deployed in custom repository

From:
Vladimir Kadychevski
Date:
2014-04-24 @ 14:59
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}}})```