Dmitri Gribenko
c55e89f55a
build-script: allow non-zero exit codes from 'xcodebuild -version -sdk'
...
Under certain obscure circumstances (incomplete SDKs), xcodebuild can
successfully work with the SDK and print its version number, but will
still exit with a non-zero code. This change works around the issue by
ignoring the exit code.
2016-06-03 15:50:06 -07:00
rintaro ishizaki
308160a4d4
[build-script] Consistent use of shell.capture in swift_build_support
...
Eliminate direct `import subprocess`.
2016-06-03 12:09:54 +09:00
Daniel Dunbar
e8b121b6a6
[util] Add swift_build_support.shell.capture.
...
- This is an analog to `call`, which returns the captured output of the
command.
2016-06-01 22:57:42 -07:00
Dmitri Gribenko
24885e461c
Merge pull request #2830 from ddunbar/introduce-swift_build_support-diagnostics-module
...
[utils] Introduce swift_build_support.diagnostics.
2016-06-01 18:30:37 -07:00
Daniel Dunbar
daba6275ae
[utils/swift_build_suport] Tidy up import order.
2016-06-01 16:40:27 -07:00
Daniel Dunbar
95e35130db
[utils] Move quote_shell_command into swift_build_support.
2016-06-01 15:55:25 -07:00
rintaro ishizaki
b1109c6344
[build-script] Provide centralized command line and file system interface for build-script.
2016-05-26 10:29:53 +09:00