Skip to content

Commit 75f3fca

Browse files
unusualinsightspestophagous
authored andcommitted
Install clang-format-10 before init_repo.sh run
The cookiecutter/init_repo.sh script executes tools/formatters/enforce_clang_format.sh, which executes clang-format-10. However, in the existing README.md instructions, clang-format-10 is not installed until after init_repo.sh is run (specifically, when tools/ci/provision.sh is run), causing init_repo.sh to fail if clang-format-10 is not already installed. Here, we explicitly instruct the reader of README.md to install clang-format-10 immediately before running init_repo.sh.
1 parent ef6f089 commit 75f3fca

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,12 @@ You must also read "Your first commit" (below) before continuing further:
6868
### Your first commit:
6969

7070
Once either the GitHub "Use this template" button or cookiecutter has completed
71-
its work, `cd` into the project directory and:
71+
its work, make sure you have `clang-format-10` installed:
72+
```
73+
sudo apt install clang-format-10
74+
```
75+
76+
Then `cd` into the project directory and:
7277

7378
- If you used cookiecutter, then run:
7479
```

0 commit comments

Comments
 (0)