diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-07-08 19:53:16 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-07-08 19:53:16 +0300 |
commit | 8b6d0c1eceb740df48d26c1e9448474e8e247335 (patch) | |
tree | e30f3265c6a7311b84caf9eadbe983979a41e738 /riki.md | |
parent | c21324beb5df1b8fe629abfe83cab1bd945b1e4c (diff) | |
download | riki-8b6d0c1eceb740df48d26c1e9448474e8e247335.tar.gz |
test: verify that input files in sub-directories work
Sponsored-by: author
Diffstat (limited to 'riki.md')
-rw-r--r-- | riki.md | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -224,3 +224,18 @@ then files site/image.jpg and output/image.jpg match # Dummy Pretend this is an image. ~~~ + +## Input files in sub=directories + +_Requirement: If an source page or file is in a sub-directory, it +should be put in the corresponding sub-directory in the target +directory._ + +~~~scenario +given an installed riki +given file site/foo/page.mdwn from image +given file site/bar/image.jpg from para +when I run riki site output +then AST of site/foo/page.mdwn matches that of output/foo/page.html +then files site/bar//image.jpg and output/bar/image.jpg match +~~~ |