Make zeroein.el work with subtrees

This commit is contained in:
John Miller 2016-09-09 10:07:35 -05:00
parent b0c78fa3a0
commit e98003f8fd

View file

@ -50,6 +50,18 @@
'("ein-mumamo" "nxhtml" "markdown-mode" "websocket" "request" '("ein-mumamo" "nxhtml" "markdown-mode" "websocket" "request"
"auto-complete" "popup" "fuzzy" "pos-tip" "smartrep")) "auto-complete" "popup" "fuzzy" "pos-tip" "smartrep"))
(defvar zeroein:subtrees
'("lib/websocket https://github.com/ahyatt/emacs-websocket.git master --squash"
"lib/auto-complete https://github.com/auto-complete/auto-complete.git master --squash"
"lib/fuzzy https://github.com/auto-complete/fuzzy-el.git master --squash"
"lib/popup https://github.com/auto-complete/popup-el.git master --squash"
"lib/pos-tip https://github.com/emacsmirror/pos-tip.git master --sqaush"
"lib/smartrep https://github.com/myuhe/smartrep.el.git master --squash"
"lib/markdown-mode https://github.com/defunkt/markdown-mode.git master --squash"
"lib/ert https://github.com/ohler/ert.git master --squash"
"lib/request https://github.com/tkf/emacs-request master --squash"
"lib/ein-mumamo https://github.com/millejoh/ein-mumamo master --squash"))
;; Loading the new python.el fails in Emacs 23. ;; Loading the new python.el fails in Emacs 23.
(when (>= emacs-major-version 24) (when (>= emacs-major-version 24)
(add-to-list 'zeroein:dependencies "python")) (add-to-list 'zeroein:dependencies "python"))
@ -57,9 +69,9 @@
;;; Install dependencies ;;; Install dependencies
(call-process "git" nil (get-buffer "*Messages*") nil (loop for subtree in zeroein:subtrees
"submodule" "update" "--init") do (call-process "git" nil nil nil
"subtree" "pull" "--prefix" subtree))
;;; `load-path' configurations ;;; `load-path' configurations