Commit 9058bfaf authored by Eric Timmons's avatar Eric Timmons

Add sync to client

parent 371901e0
......@@ -19,6 +19,7 @@
(:file "install" :depends-on ("package" "proc"))
(:file "package")
(:file "proc" :depends-on ("package"))
(:file "sync" :depends-on ("package" "proc"))
(:file "ui" :depends-on ("package"))
(:file "update" :depends-on ("package" "proc"))
(:file "version" :depends-on ("package" "proc"))))
......@@ -52,6 +52,7 @@
#:release-diff-project-name
#:reload-config
#:reresolve-requirements-and-reload-config
#:sync
#:update))
(in-package #:clpm-client)
......
;;;; Interface to clpm sync
;;;;
;;;; This software is part of CLPM. See README.org for more information. See
;;;; LICENSE for license information.
(in-package #:clpm-client)
(defun sync (&key sources)
"Sync a set of SOURCES. If no sources are listed, all are synced."
(with-clpm-proc (proc)
(clpm-proc-print
proc
`(progn
(sync :sources ',(ensure-list sources))
t))
(clpm-proc-read proc)
(values)))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment