diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/bash/template.sh | 7 | ||||
-rw-r--r-- | templates/python/template.py | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/templates/bash/template.sh b/templates/bash/template.sh index 89958d4..1da4f5b 100644 --- a/templates/bash/template.sh +++ b/templates/bash/template.sh @@ -5,7 +5,12 @@ set -eu -o pipefail ############################################################################# # Functions that implement steps. -{{ functions }} +{% for func in functions %} +#---------------------------------------------------------------------------- +# This code comes from: {{ func.source }} + +{{ func.code }} +{% endfor %} ############################################################################# diff --git a/templates/python/template.py b/templates/python/template.py index 4ceeb51..af5b36e 100644 --- a/templates/python/template.py +++ b/templates/python/template.py @@ -1,7 +1,12 @@ ############################################################################# # Functions that implement steps. -{{ functions }} +{% for func in functions %} +#---------------------------------------------------------------------------- +# This code comes from: {{ func.source }} + +{{ func.code }} +{% endfor %} ############################################################################# |