287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
|
# File 'lib/ios/module/setup/ProjectManipulator.rb', line 287
def createTests
@configurator.printMessage("Gerando pastas de testes")
FileUtils.mkdir_p File.join(@module_path + "Tests" , "Resources")
FileUtils.mkdir_p File.join(@module_path + "Tests" , "Sources")
FileUtils.mkdir_p File.join(@module_path + "Tests" , "Tests")
FileUtils.touch File.join(@module_path + "Tests", "Sources", "DummyModel.swift")
FileUtils.touch File.join(@module_path + "Tests", "Tests", "DummyTest.swift")
FileUtils.cp(
File.join(@configurator.template_path, "Feature", "Info_template"),
File.join(@module_path + "Tests", "Resources", "Info.plist")
)
@configurator.printDone
end
|