Merge pull request #568 from ejulio-ts/update-contributing
Update CONTRIBUTING
This commit is contained in:
commit
1e445b589a
2 changed files with 15 additions and 1 deletions
2
ci/sub
2
ci/sub
|
|
@ -1 +1 @@
|
||||||
Subproject commit b1ec0a8d430a62b7556211ed8bcd7b6e41e2362c
|
Subproject commit 9a29d9ea640834905c4010c0b3d14b7301ebb6d8
|
||||||
|
|
@ -17,6 +17,20 @@ Most of D2's CI is open sourced in its own
|
||||||
workflows. E.g. run `./make.sh fmt` to run the formatter. Please make sure all CI is
|
workflows. E.g. run `./make.sh fmt` to run the formatter. Please make sure all CI is
|
||||||
passing for any PRs.
|
passing for any PRs.
|
||||||
|
|
||||||
|
Most of the CI scripts rely on a submodule shared between many D2 repositories:
|
||||||
|
[https://github.com/terrastruct/ci](https://github.com/terrastruct/ci). You should fetch
|
||||||
|
the submodule whenever it differs:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git submodule update --recursive
|
||||||
|
```
|
||||||
|
|
||||||
|
If running for the first time for a repo (e.g. new clone), add `--init`:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git submodule update --init --recursive
|
||||||
|
```
|
||||||
|
|
||||||
## Flow
|
## Flow
|
||||||
|
|
||||||
The simplified D2 flow at a package level looks like:
|
The simplified D2 flow at a package level looks like:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue