Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add update-repo-dbs subtask

  • Loading branch information...
commit 55ba7e960d5052ac9582621a0cb8e214f0999579 1 parent f4f80a8
@Chouser Chouser authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 src/leiningen/voom.clj
View
9 src/leiningen/voom.clj
@@ -1096,6 +1096,13 @@
(write-git-db db gitdir))
db))
+(defn update-repo-dbs
+ "Update voom dbs for all git repos in $VOOM_REPOS.
+
+ Example: lein voom update-repo-dbs"
+ [_]
+ (time (p-repos (fn [p] (updated-git-db p)))))
+
(def obj-patho
(l/tabled [tree-sha so-far fname ftype fsha tree-path]
(l/conde
@@ -1207,7 +1214,7 @@
(def subtasks [#'build-deps #'deploy #'find-box #'freshen #'install
- #'retag-all-repos #'ver-parse #'wrap])
+ #'retag-all-repos #'update-repo-dbs #'ver-parse #'wrap])
(def internal-subtasks [#'box #'box-new #'box-init #'box-add #'box-remove])
Please sign in to comment.
Something went wrong with that request. Please try again.