From 55d502d659af2f663edd548359b098d8b6894f47 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sun, 19 Jun 2022 12:08:28 +0200 Subject: [PATCH] doc: add patch update process (#1136) --- docs/build.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/build.md b/docs/build.md index d88df68..b4d1d1f 100644 --- a/docs/build.md +++ b/docs/build.md @@ -8,6 +8,7 @@ - [Windows](#dependencies-windows) - [Build Scripts](#build-scripts) - [Build in Docker](#build-docker) +- [Patch Update Process](#patch-update-process) ## Dependencies @@ -103,3 +104,14 @@ export npm_config_force_process_config="true" ./build.sh ``` + +## Patch Update Process + +- run `./build/build_.sh`, if a patch is failing then, +- open vscode directory in vscodium +- revert all changes +- run `git apply --reject ../patches/.patch` +- fix all the `*.rej` files +- run `yarn watch` +- run `./script/code.sh` until everything ok +- run `git diff > ../patches/.patch`