strongself / Generamba

This codegenerator is too brilliant to be real!
MIT License
1.82k stars 183 forks source link

Module Generation Settings with project_targets #151

Closed denbezrukov closed 8 years ago

denbezrukov commented 8 years ago

Добрый день, спасибо за вклад в развитие vipera. Могли вы бы объяснить, как сделать, чтобы создаваемые файлы были для нескольких таргетов?

пример Rambafile:

project_name: test xcodeproj_path: test.xcodeproj

The main project target name project_targets: first,second

project_file_path: test/Modules

project_group_path: test/Modules

podfile_path: Podfile

Templates templates:

Ошибка при генерации: /usr/local/lib/ruby/gems/2.2.0/gems/generamba-1.2.0/lib/generamba/helpers/gen_command_table_parameters_formatter.rb:10:in prepare_parameters_for_displaying': undefined methodjoin' for "first,second":String (NoMethodError) from /usr/local/lib/ruby/gems/2.2.0/gems/generamba-1.2.0/lib/generamba/cli/gen_command.rb:50:in gen' from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27:inrun' from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command' from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:indispatch' from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in start' from /usr/local/lib/ruby/gems/2.2.0/gems/generamba-1.2.0/bin/generamba:5:in<top (required)>' from /usr/local/bin/generamba:22:in load' from /usr/local/bin/generamba:22:in

'