Fix submodule init command to also update.

This commit is contained in:
John Adler 2019-07-26 13:31:31 -04:00
parent b5af73d056
commit 69ad55af19
No known key found for this signature in database
GPG Key ID: B25AB670E915E2DA

View File

@ -15,7 +15,7 @@ installed):
- `cmake`: required for building protobuf - `cmake`: required for building protobuf
- `git-lfs`: The Git extension for [Large File Support](https://git-lfs.github.com/) (required for EF tests submodule). - `git-lfs`: The Git extension for [Large File Support](https://git-lfs.github.com/) (required for EF tests submodule).
6. If you haven't already, clone the repository with submodules: `git clone --recursive https://github.com/sigp/lighthouse`. 6. If you haven't already, clone the repository with submodules: `git clone --recursive https://github.com/sigp/lighthouse`.
Alternatively, run `git submodule init` in a repository which was cloned without submodules. Alternatively, run `git submodule init; git submodule update` in a repository which was cloned without submodules.
7. Change directory to the root of the repository. 7. Change directory to the root of the repository.
8. Run the test by using command `cargo test --all --release`. By running, it will pass all the required test cases. 8. Run the test by using command `cargo test --all --release`. By running, it will pass all the required test cases.
If you are doing it for the first time, then you can grab a coffee in the meantime. Usually, it takes time If you are doing it for the first time, then you can grab a coffee in the meantime. Usually, it takes time