Sha256: c676955030ab863fbb06ed05c1b01121e8185c09e60a89606f03ff977e5313e6

Contents?: true

Size: 731 Bytes

Versions: 2

Compression:

Stored size: 731 Bytes

Contents

# Compile artifact
{{id: .compile, parent: fr}}

The system shall provide the function to create deliverable artifact.

__Input__

Parameter Type     0..* Description
--------- -------- ---- --------------
tree      TreeNode 1    assembled tree
template  String   1    ERB template
filename  String   1    filename

__Output__

The output of the function must be well-formed deliverable with `filename` built on `template` parameter.

__Flow__

@@todo provide id for required functions and change steps with appropriate links

1. `tree` = [[fr.assemble]] unless `tree`
2. load template body from `template`
3. backup `filename` to `<filename>~`
4. render `template` for each node of `tree` into `filename`

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
marko-0.3.0 lib/assets/demo/src/fr/compile.md
marko-0.1.0 lib/assets/demo/src/fr/compile.md