summaryrefslogtreecommitdiff
path: root/riki.md
diff options
context:
space:
mode:
Diffstat (limited to 'riki.md')
-rw-r--r--riki.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/riki.md b/riki.md
index e208baa..7adb3ff 100644
--- a/riki.md
+++ b/riki.md
@@ -529,3 +529,24 @@ then stdout doesn't contain ".git"
then stdout doesn't contain "index.mdwn~"
then stdout doesn't contain "#index.mdwn#"
~~~
+
+## Output directory tree
+
+### Output files have source file modification times
+
+_Requirement: Files in the output directory have the same time stamp
+as the corresponding files in the source directory._
+
+Note that due to limitations in the Subplot `lib/files` library, our
+check for modification times is imprecise.
+
+~~~scenario
+given an installed riki
+given file site/index.mdwn from empty
+given file site/index.mdwn has modification time 1970-01-01 00:00:00
+given file site/index.jpg from empty
+given file site/index.jpg has modification time 1970-01-01 00:00:00
+when I run riki build site output
+then file output/index.html has a very old modification time
+then file output/index.jpg has a very old modification time
+~~~