Rename variables

This commit is contained in:
Pedro Piñera 2018-08-17 14:01:35 +02:00
parent 48cbba359a
commit 765c7fbd69
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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 {