Call "git submodule update" from zeroein.el

This commit is contained in:
Takafumi Arakaki 2012-09-28 00:49:18 +02:00
parent 1415ee3ec0
commit 3008026ea6

View file

@ -27,6 +27,8 @@
;;; Code:
(eval-when-compile (require 'cl))
;;; Utilities
@ -48,6 +50,17 @@
'("nxhtml" "markdown-mode" "websocket" "python"
"auto-complete" "popup" "fuzzy" "pos-tip" "smartrep"))
;;; Install dependencies
(unless (loop for path in zeroein:dependencies
unless (file-exists-p (zeroein:path "lib" path))
return nil
finally return t)
(call-process "git" nil (get-buffer "*Messages*") nil
"submodule" "update" "--init"))
;;; `load-path' configurations