Distributing Swift Scripts
I want to know whats the best way to distribute Swift scripts to team members without them having to build the source code on their machines. I am writing a script so that everyone can replicate the same folder structure on their local machine as there is on the Gitlab
Here is a code snippet to better demonstrate what I am trying to do:
do{
try fileManager.createDirectory(atPath: "\(path)/\(folder)/Local",
withIntermediateDirectories: true)
try fileManager.createDirectory(atPath: "\(path)/\(folder)/Local/NewFolder",
withIntermediateDirectories: true)
let repo = "http://fatima.akram@git.tyre24.local/mobile/local/NewFolder.git"
let pathForRepo = "\(path)/\(folder)/Local/NewFolder"
git.arguments = ["clone", repo, pathForRepo]
try git.run()
} catch {
print("Error creating new folder")
exit(1)
}
How many English words
do you know?
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
how many words do you know
Powered by Examplum