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

A little refactoring #137

Merged
merged 2 commits into from
Aug 25, 2016
Merged

A little refactoring #137

merged 2 commits into from
Aug 25, 2016

Conversation

Beniamiiin
Copy link
Contributor

  1. Replaced gen_command option module_targets to project_targets.
    Now you can write generamba gen Module template_name --project_targets Target1,Target2
  2. Replaced rambaspec parameter file_name to custom_name.
    Now you can write in rambaspec something like this - {custom_name: "{{ prefix }}{{ custom_parameters.my_value }}{{ module_info.file_basename }}", name: View/ViewInput.h, path: Code/View/view_input.h.liquid}
  3. Replaced rambaspec parameter file_type to is_resource.
    Now you can write in rambaspec something like this - {name: Resources/MyJson.json, path: Resources/MyJson.json.liquid, is_resource: true}. Then generamba adds this file in project like resource, and not like file reference.

Beniamin Sarkisyan added 2 commits August 25, 2016 00:06
2. Replaced rambaspec parameter `file_name` to `custom_name`.
3. Replaced rambaspec parameter `file_type` to `is_resource`.
# Conflicts:
#	lib/generamba/helpers/xcodeproj_helper.rb
@etolstoy
Copy link
Member

Thanks!

@etolstoy etolstoy merged commit a46749c into develop Aug 25, 2016
@Beniamiiin Beniamiiin deleted the feature/refactoring branch August 25, 2016 14:41
@etolstoy etolstoy added this to the 1.1.0 milestone Sep 5, 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