Skip to content

Commit 6e51fbb

Browse files
authored
Merge pull request swiftlang#21524 from apple/windows-git-usage
docs: add some notes on Windows source management
2 parents 01a2645 + 7450217 commit 6e51fbb

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/WindowsBuild.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,31 @@ it provides some of the needed headers and libraries.
3030
installation.
3131

3232
### 2. Clone the repositories
33+
1. Configure git to work with Unix file endings
3334
1. Create a folder to contain all the Swift repositories
3435
1. Clone `apple/swift-cmark` into a folder named `cmark`
3536
1. Clone `apple/swift-clang` into a folder named `clang`
3637
1. Clone `apple/swift-llvm` into a folder named `llvm`
3738
1. Clone `apple/swift-compiler-rt` into a folder named `compiler-rt`
3839
1. Clone `apple/swift` into a folder named `swift`
3940
1. Clone `apple/swift-corelibs-libdispatch` into a folder named `swift-corelibs-libdispatch`
41+
1. Clone `apple/swift-corelibs-foundation` into a folder name `swift-corelibs-foundation`
42+
4043
- Currently, other repositories in the Swift project have not been tested and
4144
may not be supported.
4245

46+
```cmd
47+
git config --global core.autocrlf input
48+
S:
49+
git clone https://github.com/apple/swift-cmark cmark
50+
git clone https://github.com/apple/swift-clang clang
51+
git clone https://github.com/apple/swift-llvm llvm
52+
git clone https://github.com/apple/swift-compiler-rt compiler-rt
53+
git clone https://github.com/apple/swift
54+
git clone https://github.com/apple/swift-corelibs-libdispatch
55+
git clone https://github.com/apple/swift-corelibs-foundation
56+
```
57+
4358
### 3. Acquire ICU
4459
1. Download ICU from [ICU Project](http://site.icu-project.org) for Windows x64 and extract the binaries.
4560
1. Add the `bin64` folder to your `Path` environment variable.

0 commit comments

Comments
 (0)