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 #141

Merged
merged 2 commits into from
Sep 3, 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 %}

Beniamin Sarkisyan added 2 commits September 3, 2016 02:46
@etolstoy
Copy link
Member

etolstoy commented Sep 3, 2016

Wow, great! Thanks!

@etolstoy etolstoy merged commit 2779bc1 into develop Sep 3, 2016
@etolstoy etolstoy added this to the 1.1.0 milestone Sep 3, 2016
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