Set blog repo in "the right place".

This commit is contained in:
Brit Butler 2014-08-26 17:24:29 -04:00
parent f512ab7a48
commit ed886b57e7
2 changed files with 3 additions and 3 deletions

View file

@ -7,8 +7,7 @@
"Load the user's config file, then compile and deploy the blog stored "Load the user's config file, then compile and deploy the blog stored
in REPO-DIR. Optionally, OLDREV is the revision prior to the last push." in REPO-DIR. Optionally, OLDREV is the revision prior to the last push."
(load-config repo-dir) (load-config repo-dir)
(setf (repo *config*) repo-dir (setf *last-revision* oldrev)
*last-revision* oldrev)
(load-content) (load-content)
(compile-theme (theme *config*)) (compile-theme (theme *config*))
(let ((dir (staging-dir *config*))) (let ((dir (staging-dir *config*)))

View file

@ -66,5 +66,6 @@ doesn't exist, use the .coleslawrc in the home directory."
preferred over the home directory if provided." preferred over the home directory if provided."
(with-open-file (in (discover-config-path repo-dir) :external-format '(:utf-8)) (with-open-file (in (discover-config-path repo-dir) :external-format '(:utf-8))
(let ((config-form (read in))) (let ((config-form (read in)))
(setf *config* (construct 'blog config-form)))) (setf *config* (construct 'blog config-form)
(repo *config*) repo-dir)))
(load-plugins (plugins *config*))) (load-plugins (plugins *config*)))