summaryrefslogtreecommitdiff
path: root/riki.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-07-25 08:13:52 +0300
committerLars Wirzenius <liw@liw.fi>2022-07-25 08:45:22 +0300
commitbd08b37b8bd429e0e5c5817fb912fbc22566dcbf (patch)
treedae3a480a633cd4ce8bb5297ab795bae4d7727a7 /riki.md
parentb08f50789bec1f9f0d7b4aa45177838b3bd2d24c (diff)
downloadriki-bd08b37b8bd429e0e5c5817fb912fbc22566dcbf.tar.gz
feat: "riki list" to list source files for a site
Sponsored-by: author
Diffstat (limited to 'riki.md')
-rw-r--r--riki.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/riki.md b/riki.md
index fa982b2..00637dc 100644
--- a/riki.md
+++ b/riki.md
@@ -445,3 +445,27 @@ then file output/index.html contains "<img src="img.jpg""
~~~{#jpeg .file}
This is a dummy JPEG image.
~~~
+
+## Source file tree
+
+### Listing source files
+
+_Requirement: source files can be listed._
+
+~~~scenario
+given an installed riki
+given file site/index.mdwn from empty
+given file site/img.jpg from empty
+when I run riki list site
+then stdout contains "img.jpg"
+then stdout contains "index.mdwn"
+~~~
+
+### Exclude unusual files
+
+_Requirement: files and directories that aren't meant to be part of
+the site content should be excluded._
+
+~~~scenario
+given an installed riki
+~~~