54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# File 'lib/ios/module/setup/ProjectManipulator.rb', line 54
def createModulePath
@configurator.printMessage("Criando estrutura do módulo")
@module_root_path = File.join(project_folder, [module_folder, @configurator.pod_name])
@module_path = File.join(@module_root_path, @configurator.pod_name)
FileUtils.mkdir_p @module_path
if @has_interface == :yes
FileUtils.mkdir_p @module_path + "Interface"
end
if @has_test == :yes
FileUtils.mkdir_p @module_path + "Tests"
end
Dir.chdir @module_root_path
@configurator.printDone
end
|