summaryrefslogtreecommitdiff
path: root/riki.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-07-25 08:45:10 +0300
committerLars Wirzenius <liw@liw.fi>2022-07-25 08:45:33 +0300
commit8fac4f3e6420a8854ec22a006fddcc98af29ba83 (patch)
tree75f0161612556a6635eb2c5f674fe90b03d239e8 /riki.md
parentbd08b37b8bd429e0e5c5817fb912fbc22566dcbf (diff)
downloadriki-8fac4f3e6420a8854ec22a006fddcc98af29ba83.tar.gz
feat: exclude unwanted files from site
Sponsored-by: author
Diffstat (limited to 'riki.md')
-rw-r--r--riki.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/riki.md b/riki.md
index 00637dc..62093ff 100644
--- a/riki.md
+++ b/riki.md
@@ -468,4 +468,15 @@ the site content should be excluded._
~~~scenario
given an installed riki
+given file site/index.mdwn from empty
+given file site/img.jpg from empty
+given file site/.git/HEAD from empty
+given file site/index.mdwn~ from empty
+given file site/#index.mdwn# from empty
+when I run riki list site
+then stdout contains "img.jpg"
+then stdout contains "index.mdwn"
+then stdout doesn't contain ".git"
+then stdout doesn't contain "index.mdwn~"
+then stdout doesn't contain "#index.mdwn#"
~~~