From db1b4d48b8be9e045014cdcb50305d30883b149b Mon Sep 17 00:00:00 2001 From: Garfield Lee Date: Wed, 2 Aug 2023 23:32:22 +0800 Subject: [PATCH] docs: update docs for build plugins (#3525) --- docs/BUILDING.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/BUILDING.md b/docs/BUILDING.md index d161ff59fb..4d90cfd0c8 100644 --- a/docs/BUILDING.md +++ b/docs/BUILDING.md @@ -56,13 +56,19 @@ yarn install ### Build Native Dependencies Run the following script. It will build the native module at [`/packages/native`](/packages/native) and build Node.js binding using [NAPI.rs](https://napi.rs/). -This could take a while if you build it for the first time. +This could take a while if you build it for the first time. Note: use `strip` from system instead of `binutils` if you are runinng MacOS. [see problem here](https://github.com/toeverything/AFFiNE/discussions/2840) ``` yarn workspace @affine/native build ``` +### Build Plugins + +``` +yarn run build:plugins +``` + ## Debugging the Electron App You need to run two scripts to run the app in development mode