ref: aa397fe2ffceabe962d70930ed220952c893feb0
parent: 3a98ba214a1ca2f61c45499e1fe4194a4c5373a0
author: kvik <[email protected]>
date: Tue Jul 28 17:19:53 EDT 2020
Ignore the data/.git repository
--- a/mkfile
+++ b/mkfile
@@ -1,4 +1,4 @@
-articles = `{walk -f data/}
+articles = `{walk -f data/ | grep -v '^data/\.git/'}
articles = ${articles:data/%=public/%}
md = `{{for(i in $articles) echo $i}| grep '\.md$'}
txt = `{{for(i in $articles) echo $i}| grep '\.txt$'}