Task: Implement the Site Build feature
TASK-DESCRIPTION
- Create:
scripts/site-build.shThe script generatessite.out/fromsite.in/, and implements the requirements inprompts/features/01-site-build.mdwithin the files inTASK-FILES. - Create:
site.in/hello.txtThe example page proves the build converts a page and substitutes its title.
TASK-OUTPUT
Provide the complete content of each created file, in the order listed in TASK-FILES, then the VERIFICATION: line.
TASK-CONTEXT
prompts/features/01-site-build.md; the conventions are prompts/03-conventions.md. This task is the worked example for a task file: it is the shape every task in prompts/tasks/ follows.
TASK-FILES
| Operation | Path |
|---|---|
| create | scripts/site-build.sh |
| create | site.in/hello.txt |
TASK-VERIFY
- Run:
make testfrom the repository root. - Expected: exit status 0, and
site.out/hello.htmlexists.
TASK-FEATURES
prompts/features/01-site-build.md
TASK-ACCEPTANCE
SITE-BUILD-R001SITE-BUILD-R002SITE-BUILD-R003SITE-BUILD-R004SITE-BUILD-R006SITE-BUILD-R009SITE-BUILD-R010SITE-BUILD-R011
OUTPUT: the complete content of each created file in the order listed in TASK-FILES, ending with the VERIFICATION: line.