Rename variables
This commit is contained in:
parent
48cbba359a
commit
765c7fbd69
|
@ -4,7 +4,7 @@ public class Constants {
|
|||
public static let versionFileName = ".tuist-version"
|
||||
public static let binFolderName = ".tuist-bin"
|
||||
public static let binName = "tuist"
|
||||
public static let gitRepositorySSH = "https://github.com/tuist/tuist.git"
|
||||
public static let gitRepositoryURL = "https://github.com/tuist/tuist.git"
|
||||
public static let version = "0.2.0"
|
||||
public static let swiftVersion: String = "4.1.2"
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ final class Installer: Installing {
|
|||
|
||||
// Cloning and building
|
||||
if printing { printer.print("Pulling source code") }
|
||||
try system.capture("git", "clone", Constants.gitRepositorySSH, temporaryDirectory.path.asString, verbose: verbose).throwIfError()
|
||||
try system.capture("git", "clone", Constants.gitRepositoryURL, temporaryDirectory.path.asString, verbose: verbose).throwIfError()
|
||||
do {
|
||||
try system.capture("git", "-C", temporaryDirectory.path.asString, "checkout", version, verbose: verbose).throwIfError()
|
||||
} catch let error as SystemError {
|
||||
|
|
Loading…
Reference in New Issue