Fix submodule update.
Optimize rust cargo integration.
This commit is contained in:
parent
54f494163a
commit
366ef4119f
4 changed files with 30 additions and 14 deletions
|
|
@ -86,14 +86,9 @@
|
|||
(define-public repo-update-src
|
||||
(lambda (path)
|
||||
""
|
||||
(let ((repo (submodule-lookup (repository-open path)
|
||||
"autogen"))
|
||||
(old-cwd (getcwd)))
|
||||
;;Not working for updates only init?
|
||||
;;(submodule-update repo)
|
||||
(chdir (string-join (list path "autogen")
|
||||
file-name-separator-string))
|
||||
(system* "/usr/bin/git" "pull")
|
||||
(let ((old-cwd (getcwd)))
|
||||
(chdir path)
|
||||
(system* "/usr/bin/git" "submodule" "update" "--remote" "--merge")
|
||||
(chdir old-cwd))))
|
||||
|
||||
;; TODO guile-git method...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue