Skip to content

Commit f6f1294

Browse files
Remove mentions of submodules from the docs
1 parent 0819706 commit f6f1294

File tree

3 files changed

+2
-18
lines changed

3 files changed

+2
-18
lines changed

.drone.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ clone:
66

77
pipeline:
88
# We add a custom clone step to workaround a bug with GitHub (see #3415)
9-
# and speed up cloning submodules
109
clone:
1110
image: plugins/git
1211
commands:
@@ -16,8 +15,6 @@ pipeline:
1615
git config user.name "Dotty CI";
1716
git pull "$DRONE_REMOTE_URL" "$DRONE_BRANCH";
1817
fi
19-
# clone submodules in parallelRiRem
20-
- git submodule update --init --recursive --jobs 3
2118

2219
# TESTS:
2320
# We run tests in parallel. Tests run in a copy of the working directory to avoid conflict
@@ -42,6 +39,7 @@ pipeline:
4239
image: lampepfl/dotty:2019-02-06
4340
commands:
4441
- cp -R . /tmp/3/ && cd /tmp/3/
42+
- git submodule update --init --recursive --jobs 7
4543
- export PATH=/tmp/4/project/scripts:$PATH
4644
- sbt community-build/test
4745

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)