From d0e8fca4a6870132bf273426965f59ccda0c9dc8 Mon Sep 17 00:00:00 2001 From: "mr. m" <91018726+mauro-balades@users.noreply.github.com> Date: Tue, 8 Apr 2025 18:42:55 +0200 Subject: [PATCH] Added depth instruction into the git clone --- content/building.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/building.md b/content/building.md index e3ad897..1da45ba 100644 --- a/content/building.md +++ b/content/building.md @@ -27,11 +27,12 @@ The following resources are essential for a successful build. Without them, you First, you need to clone the Zen Browser repository to your local machine. This will create a local copy of the project that you can work on. ```bash -git clone https://github.com/zen-browser/desktop.git --recurse-submodules +git clone https://github.com/zen-browser/desktop.git --recurse-submodules --depth 10 cd desktop ``` - **`--recurse-submodules`**: This flag ensures that all submodules are cloned along with the main project. Zen Browser relies on several submodules, so this step is essential. +- **`--depth 10`**: This makes sure you dont download the entire git history, it would take a long time otherwise due to that we used to store compiled binaries on the repository. ## Step 2: Install Dependencies @@ -131,4 +132,4 @@ This command launches the browser, allowing you to see your changes in action. > npm run reset-ff && npm run init && npm run build > ``` ---- \ No newline at end of file +---