Format template
This commit is contained in:
parent
c3c9acd9e7
commit
189ef05301
|
|
@ -9,20 +9,20 @@
|
|||
<key>{{ cookiecutter.bundle_id }}</key>
|
||||
<string>{{ cookiecutter.ios_provisioning_profile }}</string>
|
||||
</dict>
|
||||
{% macro render_dict(d) -%}
|
||||
{% for key, value in d.items() -%}
|
||||
<key>{{ key }}</key>
|
||||
{% if value is string -%}
|
||||
<string>{{ value }}</string>
|
||||
{% elif value is boolean -%}
|
||||
<{{ "true" if value else "false" }}/>
|
||||
{% elif value is mapping -%}
|
||||
<dict>
|
||||
{% macro render_dict(d) -%}
|
||||
{% for key, value in d.items() -%}
|
||||
<key>{{ key }}</key>
|
||||
{% if value is string -%}
|
||||
<string>{{ value }}</string>
|
||||
{% elif value is boolean -%}
|
||||
<{{ "true" if value else "false" }}/>
|
||||
{% elif value is mapping -%}
|
||||
<dict>
|
||||
{{ render_dict(value) }}
|
||||
</dict>
|
||||
{% endif -%}
|
||||
{% endfor -%}
|
||||
{% endmacro -%}
|
||||
{{ render_dict(cookiecutter.ios_export_options) }}
|
||||
</dict>
|
||||
{% endif -%}
|
||||
{% endfor -%}
|
||||
{% endmacro -%}
|
||||
{{ render_dict(cookiecutter.ios_export_options) }}
|
||||
</dict>
|
||||
</plist>
|
||||
Loading…
Reference in New Issue