File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ _SUPPORTED_XCODE_BUILDS = [
6262# -----------------------------------------------------------------------------
6363# Helpers
6464
65+
6566def print_note (message , stream = sys .stdout ):
6667 """Writes a diagnostic message to the given stream. By default this
6768 function outputs to stdout.
@@ -152,6 +153,7 @@ def print_xcodebuild_versions(file=sys.stdout):
152153 print (fmt .format (version = version , sdks = sdks ), file = file )
153154 file .flush ()
154155
156+
155157def validate_xcode_compatibility ():
156158 if sys .platform != 'darwin' :
157159 return
@@ -168,11 +170,14 @@ def validate_xcode_compatibility():
168170 valid_versions_string = "\n " .join (
169171 "{} ({})" .format (* x ) for x in _SUPPORTED_XCODE_BUILDS )
170172 raise SystemExit (
171- "error: using unsupported Xcode version:\n \n {}\n \n Install one of:\n {}\n \n Or set 'SKIP_XCODE_VERSION_CHECK=1' in the environment" .format (
173+ "error: using unsupported Xcode version:\n \n {}\n \n "
174+ "Install one of:\n {}\n \n "
175+ "Or set 'SKIP_XCODE_VERSION_CHECK=1' in the environment" .format (
172176 version , valid_versions_string
173177 )
174178 )
175179
180+
176181def tar (source , destination ):
177182 """
178183 Create a gzip archive of the file at 'source' at the given
You can’t perform that action at this time.
0 commit comments