From dd53a77595d9a25601c949c511a67dc9675ec57b Mon Sep 17 00:00:00 2001 From: Masataro Asai Date: Sun, 27 Oct 2019 14:58:13 -0400 Subject: [PATCH] move all options to the default-initargs, for maximum customizability --- plugins/rsync.lisp | 2 +- src/config.lisp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/rsync.lisp b/plugins/rsync.lisp index 319eb6e..7ce605e 100644 --- a/plugins/rsync.lisp +++ b/plugins/rsync.lisp @@ -11,7 +11,7 @@ (defvar *args* nil) (defmethod deploy (staging) - (coleslaw::run-program "rsync --delete ~{~A~^ ~} -avz ~A ~A" *args* + (coleslaw::run-program "rsync ~{~A~^ ~} ~A ~A" *args* (merge-pathnames staging) (merge-pathnames (deploy-dir *config*)))) diff --git a/src/config.lisp b/src/config.lisp index 997e4db..9d5a45f 100644 --- a/src/config.lisp +++ b/src/config.lisp @@ -21,7 +21,7 @@ (:default-initargs :feeds nil :license nil - :plugins '((rsync "--delete")) + :plugins '((rsync "-avz" "--delete" "--exclude" ".git/" "--exclude" ".gitignore" "--copy-links")) :sitenav nil :excerpt-sep "" :charset "UTF-8"