cmark

My personal build of CMark ✏️

Commit
05bd7217ed9e33341333b1bfd47a134889eff77c
Parent
143f3f5cf2630367fe7d614fb79d834601cad8d0
Author
John MacFarlane <jgm@berkeley.edu>
Date

Include dates in list of versions.

Diffstat

1 file changed, 2 insertions, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified Makefile 3 2 1
diff --git a/Makefile b/Makefile
@@ -92,7 +92,8 @@ fuzztest:
 _site/spec.html: spec.txt
 	(echo "% CommonMark Spec\n";\
 	for vers in $(shell cd _site; ls -d -t 0.*) ; do \
-	  echo "- [Version $$vers](/$$vers/)" ; done) | \
+	  date=`stat -t "%Y-%m-%d" -f "%Sa" _site/$$vers/index.html`; \
+	  echo "- [Version $$vers ($$date)](/$$vers/)" ; done) | \
 	pandoc --template template.html -S -s -t html5 -o $@
 
 _site/index.html: _site/spec.html