Permalink
Browse files

Add support for --no-fetch to freshen

  • Loading branch information...
1 parent 1eb9799 commit 85c1d95ebb06d8b1b3607eeaa131d75f73a5039b @Chouser Chouser committed Dec 31, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/leiningen/voom.clj
View
4 src/leiningen/voom.clj
@@ -534,8 +534,10 @@
there so voom can find your deps.
Example: lein voom freshen"
- [project]
+ [project & args]
(ensure-deps-repos (:dependencies project))
+ (when (not-any? #{"--no-fetch"} args)
+ (fetch-all (all-repos-dirs)))
(let [prj-file-name (str (:root project) "/project.clj")
old-deps (:dependencies project)
desired-new-deps (doall (map #(fresh-version %) old-deps))]

0 comments on commit 85c1d95

Please sign in to comment.