Selaa lähdekoodia

Bump version to 0.95-dev, tweak exports, NEWS entries.

Brit Butler 11 vuotta sitten
vanhempi
commit
5e236e6ef1
4 muutettua tiedostoa jossa 8 lisäystä ja 3 poistoa
  1. 6 0
      NEWS.md
  2. 1 1
      coleslaw.asd
  3. 0 1
      src/packages.lisp
  4. 1 1
      src/util.lisp

+ 6 - 0
NEWS.md

@@ -1,3 +1,9 @@
1
+## Changes for 0.9.5-dev (20xx):
2
+
3
+* Coleslaw now exports a `get-updated-files` function which can be
4
+  used to get a list of file-status/file-name pairs that were changed
5
+  in the last git push.
6
+
1 7
 ## Changes for 0.9.4 (2014-05-05):
2 8
 
3 9
 * **SITE-BREAKING CHANGE**: Coleslaw now supports user-defined routing.

+ 1 - 1
coleslaw.asd

@@ -1,7 +1,7 @@
1 1
 (defsystem #:coleslaw
2 2
   :name "coleslaw"
3 3
   :description "Flexible Lisp Blogware"
4
-  :version "0.9.4"
4
+  :version "0.9.5-dev"
5 5
   :license "BSD"
6 6
   :author "Brit Butler <redline6561@gmail.com>"
7 7
   :pathname "src/"

+ 0 - 1
src/packages.lisp

@@ -10,7 +10,6 @@
10 10
   (:export #:main
11 11
            #:preview
12 12
            #:*config*
13
-           #:*last-revision*
14 13
            #:content
15 14
            #:post
16 15
            #:index

+ 1 - 1
src/util.lisp

@@ -97,7 +97,7 @@ along with any missing parent directories otherwise."
97 97
                    :external-format '(:utf-8))
98 98
     (write text :stream out :escape nil)))
99 99
 
100
-(defun get-updated-files (revision)
100
+(defun get-updated-files (&optional (revision *last-revision*))
101 101
   "Return a plist of (file-status file-name) for files that were changed
102 102
 in the git repo since REVISION."
103 103
   (flet ((split-on-whitespace (str)