You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/Swiftly/Init.swift
+27-18Lines changed: 27 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -66,24 +66,33 @@ struct Init: SwiftlyCommand {
66
66
67
67
// Give the user the prompt and the choice to abort at this point.
68
68
if !assumeYes {
69
-
#if os(Linux)
70
-
letsigMsg=" In the process of installing the new toolchain, swiftly will add swift.org GnuPG keys into your keychain to verify the integrity of the downloads."
71
-
#else
72
-
letsigMsg=""
73
-
#endif
74
-
letinstallMsg=if !skipInstall {
75
-
"\nOnce swiftly is installed it will install the latest available Swift toolchain.\(sigMsg)\n"
76
-
}else{""}
77
-
78
-
SwiftlyCore.print("""
79
-
Swiftly will install files into the following locations:
80
-
81
-
\(Swiftly.currentPlatform.swiftlyHomeDir.path) - Directory for configuration files
82
-
\(Swiftly.currentPlatform.swiftlyBinDir.path) - Links to the binaries of the active toolchain
83
-
84
-
These locations can be changed by setting the environment variables SWIFTLY_HOME_DIR and SWIFTLY_BIN_DIR before running 'swiftly init' again.
85
-
\(installMsg)
86
-
""")
69
+
varmsg="""
70
+
Swiftly installs files into the following locations:
71
+
72
+
\(Swiftly.currentPlatform.swiftlyHomeDir.path) - Directory for configuration files
73
+
\(Swiftly.currentPlatform.swiftlyBinDir.path) - Links to the binaries of the active toolchain
0 commit comments