Добрый день, спасибо за вклад в развитие 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:
{name: rviper_controller}
{name: mvvm_controller}
{name: swifty_viper}
Ошибка при генерации:
/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'
Добрый день, спасибо за вклад в развитие 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 method
join' 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:ingen' from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27:in
run' from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:ininvoke_command' from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:in
dispatch' from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:instart' 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:inload' from /usr/local/bin/generamba:22:in