Skip to content

Commit

Permalink
Add more details to "Submodules" in CONTRIBUTING.md (realm#1280)
Browse files Browse the repository at this point in the history
The reason to checkout git submodules wasn't mentioned. I added the use cases for submodules, as Swift Package Manager doesn't make use of the git submodules.
  • Loading branch information
mknabbe committed Oct 27, 2020
1 parent 84023e6 commit f697b6f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ Then you can use the full power of Xcode/LLDB/Instruments to develop and debug y
### Submodules

This SwiftLint repository uses submodules for its dependencies.
This means that if you decide to fork this repository to contribute to SwiftLint,
don't forget to checkout the submodules as well when cloning, by running
`git submodule update --init --recursive` after cloning.
The git submodules are used when using the Xcode project and workspace
(e.g. `xed SwiftLint.xcworkspace`) and building SwiftLint by executing
the `Makefile`. This means that if you decide to fork this repository to
contribute to SwiftLint, don't forget to checkout the submodules as well when
cloning, by running `git submodule update --init --recursive` after cloning.

See more info [in the README](https://github.com/realm/SwiftLint#installation).

Expand Down

0 comments on commit f697b6f

Please sign in to comment.