-
Notifications
You must be signed in to change notification settings - Fork 29.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
inspector,build: stop redundant code-gen
* document how to code-gen manually
- Loading branch information
Showing
2 changed files
with
13 additions
and
45 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
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,12 @@ | ||
This directory was initialy created by the `inspector_protocol` code-gen tool. | ||
The protocol definition is in [../node_protocol.pdl]. It was converted to JSON | ||
and stored in [../node_protocol.json] by running: | ||
```console | ||
python $(INSPECTOR_PROTOCOL_PATH)/ConvertProtocolToJSON.py ../node_protocol.pdl ../node_protocol.json | ||
``` | ||
|
||
After making changes to the protocol definition, code need to be manuly | ||
regenerated and checked in to git, by running: | ||
```console | ||
python $(INSPECTOR_PROTOCOL_PATH)/CodeGenerator.py --jinja_dir $(JINJA_PATH) --output_base .. --config ../node_protocol_config.json | ||
``` |