Add a bug report + completions command(not complete yet) so that new users can easily submit bugs to us, and I wanted completions for bb (super easy with clap) --------- Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
16 lines
627 B
Text
16 lines
627 B
Text
{%- for module in module_ext.modules %}
|
|
{%- if let Some(type) = module.module_type %}
|
|
{%- if type == "containerfile" %}
|
|
{%- if let Some(containerfiles) = self::get_containerfile_list(module) %}
|
|
{%- for c in containerfiles %}
|
|
{{ self::print_containerfile(c) }}
|
|
{%- endfor %}
|
|
{%- endif %}
|
|
{%- else %}
|
|
RUN chmod +x /tmp/modules/{{ type }}/{{ type }}.sh && source /tmp/exports.sh && /tmp/modules/{{ type }}/{{ type }}.sh '{{ self::print_module_context(module) }}'
|
|
{%- endif %}
|
|
{%- else if let Some(from_file) = module.from_file %}
|
|
{{ self::template_module_from_file(from_file) }}
|
|
{%- endif %}
|
|
{%- endfor %}
|
|
|