make-local-repo

leiningen.install

  • (make-local-repo)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source leiningen/install.clj:21 top

(defn make-local-repo []
  (let [path (.getLocalRepository (make-settings))
        url (if (.startsWith path "file:") path (str "file://" path))]
    (-> (.lookup container ArtifactRepositoryFactory/ROLE)
        (.createDeploymentArtifactRepository
         "local" url (.lookup container ArtifactRepositoryLayout/ROLE "default")
         true))))
Vars in leiningen.install/make-local-repo: -> defn let
Used in 0 other vars

Comments top

No comments for make-local-repo. Log in to add a comment.