rambler-digital-solutions/Generamba

View on GitHub
lib/generamba/code_generation/Rambafile.liquid

Summary

Maintainability
Test Coverage
### Headers settings
company: {{ company }}

### Xcode project settings
project_name: {{ project_name }}
xcodeproj_path: {{ xcodeproj_path }}
{% if prefix != "" %}prefix: {{ prefix }}{% endif %}

{% if (project_target != nil and project_target != "") or (project_file_path != nil and project_file_path != "") or (project_group_path != nil and project_group_path != "") %}### Code generation settings section
{% if project_target != nil and project_target != "" %}# The main project target name
project_target: {{ project_target }}{% endif %}

{% if project_file_path != nil and project_file_path != "" %}# The file path for new modules
project_file_path: {{ project_file_path }}{% endif %}

{% if project_group_path != nil and project_group_path != "" %}# The Xcode group path to new modules
project_group_path: {{ project_group_path }}{% endif %}
{% endif %}

{% if (test_target != nil and test_target != "") or (test_file_path != nil and test_file_path != "") or (test_group_path != nil and test_group_path != "") %}### Tests generation settings section
{% if test_target != nil and test_target != "" %}# The tests target name
test_target: {{ test_target }}{% endif %}

{% if test_file_path != nil and test_file_path != "" %}# The file path for new tests
test_file_path: {{ test_file_path }}{% endif %}

{% if test_group_path != nil and test_group_path != "" %}# The Xcode group path to new tests
test_group_path: {{ test_group_path }}{% endif %}
{% endif %}

{% if create_logical_groups != nil and create_logical_groups %}# Create Groups in Xcode without folders in filesystem
create_logical_groups: {{ create_logical_groups }} {% endif %}

{% if podfile_path != nil or cartfile_path != nil %}### Dependencies settings section{% endif %}
{% if podfile_path != nil %}podfile_path: {{ podfile_path }}{% endif %}
{% if cartfile_path != nil %}cartfile_path: {{ cartfile_path }}{% endif %}

### Templates
templates:
{% if templates.size > 0 %}{% for item in templates %}- {{ item }}
{% endfor %}{% else %}#- {name: local_template_name, local: 'absolute/file/path'}
#- {name: remote_template_name, git: 'https://github.com/igrekde/remote_template'}
#- {name: catalog_template_name}
{% endif %}