Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RESOLVED] Added ability use custom parameters in rambaspec #128 #158

Merged
merged 1 commit into from
Sep 26, 2016

Conversation

Beniamiiin
Copy link
Contributor

Now available such parameters:

year - property from rambafile
date - generate module date
developer.name - developer name
developer.company - company name, property from rambafile
module_info.name - module name
module_info.description - module description
module_info.project_name - project name
module_info.project_targets - targets into which the module will be added
module_info.test_targets - targets into which the module tests will be added
prefix - project prefix
custom_parameters - custom parameters in format `key1:value1 key2:value2`

Example:

{% if custom_parameters.my_view == "true" %}
- {name: View/ViewInput.h, path: Code/MyView/view_input.h.liquid}
{% else %}
- {name: View/ViewInput.h, path: Code/View/view_input.h.liquid}
{% endif %}

@etolstoy etolstoy merged commit ca34ac1 into develop Sep 26, 2016
@etolstoy etolstoy deleted the feature/task-128 branch November 9, 2016 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants