Skip to content

Commit 9ce89b4

Browse files
authored
Update depth in submodule update in build.md (#586)
* Update depth in submodule update in build.md Increased the depth for submodule update from 1 to 100 as it was giving an error locally when using depth of 1 as it was unable to fetch older commits. * Simplify git clone and submodule update commands
1 parent cbf5c00 commit 9ce89b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

compiler+runtime/doc/build.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ export CPPFLAGS="-I/opt/homebrew/opt/llvm/include ${CPPFLAGS}"
4343
Clone the repo as follows:
4444

4545
```bash
46-
git clone --depth 1 --single-branch --shallow-submodules --recurse-submodules https://github.com/jank-lang/jank.git
46+
git clone --recurse-submodules https://github.com/jank-lang/jank.git
4747

4848
# If you didn't recurse submodules when cloning, you'll need to run this.
49-
git submodule update --init --recursive --depth 1 --jobs 8
49+
git submodule update --init --recursive --jobs 8
5050
```
5151

5252
## Compiling Clang/LLVM

0 commit comments

Comments
 (0)