Skip to content

Commit 6271bf0

Browse files
Remove mentions of submodules from the docs
1 parent 2fc732e commit 6271bf0

File tree

3 files changed

+2
-16
lines changed

3 files changed

+2
-16
lines changed

.drone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pipeline:
1616
git config user.name "Dotty CI";
1717
git pull "$DRONE_REMOTE_URL" "$DRONE_BRANCH";
1818
fi
19-
# clone submodules in parallelRiRem
19+
# clone submodules in parallel
2020
- git submodule update --init --recursive --jobs 3
2121

2222
# TESTS:

docs/docs/contributing/getting-started.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,11 @@ Compiling and Running
1515
Start by cloning the repository:
1616

1717
```bash
18-
$ git clone --recurse-submodules --single-branch https://github.com/lampepfl/dotty.git
18+
$ git clone https://github.com/lampepfl/dotty.git
1919
$ cd dotty
2020
$ sbt managedSources # Needed for IDE import to succeed
2121
```
2222

23-
Pass `--single-branch` to clone only the master branch, otherwise cloning will be *much* slower (details in [issue #3236](https://github.com/lampepfl/dotty/issues/3236)).
24-
25-
The repository uses submodules, which may need updating/initializing using `git submodule update --init`. Starting `sbt` will alert you if this is needed.
26-
2723
Dotty provides a standard sbt build: compiling, running and starting a repl can
2824
all be done from within sbt:
2925

project/Build.scala

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -157,16 +157,6 @@ object Build {
157157
}
158158
}
159159

160-
// Make sure all submodules are properly cloned
161-
val submodules = List("scala-backend", "scala2-library")
162-
if (!submodules.forall(exists)) {
163-
sLog.value.log(Level.Error,
164-
s"""Missing some of the submodules
165-
|You can initialize the modules with:
166-
| > git submodule update --init
167-
""".stripMargin)
168-
}
169-
170160
// Copy default configuration from .vscode-template/ unless configuration files already exist in .vscode/
171161
sbt.IO.copyDirectory(new File(".vscode-template/"), new File(".vscode/"), overwrite = false)
172162

0 commit comments

Comments
 (0)