|
@@ -1,9 +1,13 @@
|
1
|
1
|
(in-package :coleslaw)
|
2
|
2
|
|
|
3
|
+(defvar *last-revision* nil
|
|
4
|
+ "The git revision prior to the last push. For use with GET-UPDATED-FILES.")
|
|
5
|
+
|
3
|
6
|
(defun main (&optional (repo-dir "") oldrev)
|
4
|
7
|
"Load the user's config file, then compile and deploy the site. Optionally,
|
5
|
8
|
REPO-DIR is the location of the blog repo and OLDREV is the revision prior to
|
6
|
9
|
the last push."
|
|
10
|
+ (setf *last-revision* oldrev)
|
7
|
11
|
(load-config repo-dir)
|
8
|
12
|
(load-content)
|
9
|
13
|
(compile-theme (theme *config*))
|