Skip to content

Commit 98f2602

Browse files
Remove mentions of submodules from the docs
1 parent 2fc732e commit 98f2602

File tree

3 files changed

+2
-17
lines changed

3 files changed

+2
-17
lines changed

.drone.yml

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

2220
# TESTS:
2321
# We run tests in parallel. Tests run in a copy of the working directory to avoid conflict
@@ -42,6 +40,7 @@ pipeline:
4240
image: lampepfl/dotty:2019-02-06
4341
commands:
4442
- cp -R . /tmp/3/ && cd /tmp/3/
43+
- git submodule update --init --recursive --jobs 7
4544
- export PATH=/tmp/4/project/scripts:$PATH
4645
- sbt community-build/test
4746

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)