doc: add patch update process (#1136)

This commit is contained in:
Baptiste Augrain 2022-06-19 12:08:28 +02:00 committed by GitHub
parent f6a99949c5
commit 55d502d659
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,7 @@
- [Windows](#dependencies-windows)
- [Build Scripts](#build-scripts)
- [Build in Docker](#build-docker)
- [Patch Update Process](#patch-update-process)
## <a id="dependencies"></a>Dependencies
@ -103,3 +104,14 @@ export npm_config_force_process_config="true"
./build.sh
```
## <a id="patch-update-process"></a>Patch Update Process
- run `./build/build_<os>.sh`, if a patch is failing then,
- open vscode directory in vscodium
- revert all changes
- run `git apply --reject ../patches/<name>.patch`
- fix all the `*.rej` files
- run `yarn watch`
- run `./script/code.sh` until everything ok
- run `git diff > ../patches/<name>.patch`