-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CGManifest - add training entries and generate entries for submodules. (
#3933) Add cgmanifest.json entries for training dependencies. Add script to generate git submodule cgmanifest.json entries.
- Loading branch information
Showing
6 changed files
with
759 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# CGManifest Files | ||
This directory contains CGManifest (cgmanifest.json) files. | ||
See here for details: https://docs.opensource.microsoft.com/tools/cg/cgmanifest.html | ||
|
||
`cgmanifests/cgmanifest.json` contains entries that don't belong in more specific categories (e.g., git submodules). | ||
|
||
## Git Submodules | ||
`cgmanifests/submodules/cgmanifest.json` contains entries for git submodules. | ||
It can be generated like this: | ||
|
||
1. Change to the repository root directory. | ||
2. Ensure the submodules are checked out. For example, with: | ||
``` | ||
$ git submodule update --init --recursive | ||
``` | ||
3. Run the generator script: | ||
``` | ||
$ python cgmanifests/submodules/generate_submodule_cgmanifest.py > cgmanifests/submodules/cgmanifest.json | ||
``` | ||
Please update this cgmanifest.json file when any git submodules change. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.