Added warning for downloading maven search indices. It's slow.
This commit is contained in:
parent
53141eab86
commit
cdf05ed2eb
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
|||
|
||||
(defn- download-index [[id {url :url}]]
|
||||
(with-open [stream (.openStream (remote-index-url url))]
|
||||
(println "Downloading index from" id "-" url)
|
||||
(println "Downloading index from" id "-" url "... this may take a while.")
|
||||
(let [tmp (java.io.File/createTempFile "lein" "index")]
|
||||
(try (io/copy stream tmp)
|
||||
(unzip tmp (index-location url))
|
||||
|
|
Loading…
Reference in a new issue