mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Adding code block format for README.md (#75981)
This commit is contained in:
@@ -103,7 +103,7 @@ script is used by swift.org's CI to produce snapshots and can allow for one to
|
|||||||
locally reproduce such builds for development or distribution purposes. A typical
|
locally reproduce such builds for development or distribution purposes. A typical
|
||||||
invocation looks like the following:
|
invocation looks like the following:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
$ ./swift/utils/build-toolchain $BUNDLE_PREFIX
|
$ ./swift/utils/build-toolchain $BUNDLE_PREFIX
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -134,7 +134,7 @@ On macOS if one wants to install such a toolchain into Xcode:
|
|||||||
1. Untar and copy the toolchain to one of `/Library/Developer/Toolchains/` or
|
1. Untar and copy the toolchain to one of `/Library/Developer/Toolchains/` or
|
||||||
`~/Library/Developer/Toolchains/`. E.g.:
|
`~/Library/Developer/Toolchains/`. E.g.:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
$ sudo tar -xzf swift-LOCAL-YYYY-MM-DD-a-osx.tar.gz -C /
|
$ sudo tar -xzf swift-LOCAL-YYYY-MM-DD-a-osx.tar.gz -C /
|
||||||
$ tar -xzf swift-LOCAL-YYYY-MM-DD-a-osx.tar.gz -C ~/
|
$ tar -xzf swift-LOCAL-YYYY-MM-DD-a-osx.tar.gz -C ~/
|
||||||
```
|
```
|
||||||
@@ -143,7 +143,7 @@ The script also generates an archive containing debug symbols which
|
|||||||
can be installed over the main archive allowing symbolication of any
|
can be installed over the main archive allowing symbolication of any
|
||||||
compiler crashes.
|
compiler crashes.
|
||||||
|
|
||||||
```
|
```sh
|
||||||
$ sudo tar -xzf swift-LOCAL-YYYY-MM-DD-a-osx-symbols.tar.gz -C /
|
$ sudo tar -xzf swift-LOCAL-YYYY-MM-DD-a-osx-symbols.tar.gz -C /
|
||||||
$ tar -xzf swift-LOCAL-YYYY-MM-DD-a-osx-symbols.tar.gz -C ~/
|
$ tar -xzf swift-LOCAL-YYYY-MM-DD-a-osx-symbols.tar.gz -C ~/
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user