Skip to content

Commit 1f9da38

Browse files
committed
Update README for new target names
1 parent 62eab29 commit 1f9da38

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ various products. These incremental builds are a big timesaver when developing
241241
and debugging.
242242

243243
cd ${SWIFT_BUILD_DIR}
244-
ninja swift
244+
ninja compiler
245245

246246
This will build the Swift compiler, but will not rebuild the standard library or
247247
any other target. Building the `swift-stdlib` target as an additional layer of
@@ -250,6 +250,10 @@ library, run:
250250

251251
ninja swift-stdlib
252252

253+
To build just the compiler frontend, run:
254+
255+
ninja swift-frontend
256+
253257
It is always a good idea to do a full build after using `update-checkout`.
254258

255259
#### Using Xcode
@@ -258,7 +262,7 @@ To open the Swift project in Xcode, open `${SWIFT_BUILD_DIR}/Swift.xcodeproj`.
258262
It will auto-create a *lot* of schemes for all of the available targets. A
259263
common debug flow would involve:
260264

261-
- Select the 'swift' scheme.
265+
- Select the 'swift-frontend' scheme.
262266
- Pull up the scheme editor (⌘⇧<).
263267
- Select the 'Arguments' tab and click the '+'.
264268
- Add the command line options.

0 commit comments

Comments
 (0)