From 4f8bc75d9ada537cd5370c9b85925acd7b71cd5b Mon Sep 17 00:00:00 2001 From: Core Date: Fri, 26 Aug 2022 07:32:15 +0000 Subject: [PATCH] GitBook: [#42] No subject --- compilation/compiling-on-linux.md | 14 +++++--------- compilation/compiling-on-macos-beta.md | 26 +++++++++++++++++++++----- compilation/compiling-on-windows.md | 4 ++-- 3 files changed, 28 insertions(+), 16 deletions(-) diff --git a/compilation/compiling-on-linux.md b/compilation/compiling-on-linux.md index 5bdf59f..5ef7898 100644 --- a/compilation/compiling-on-linux.md +++ b/compilation/compiling-on-linux.md @@ -38,14 +38,14 @@ git checkout develop ``` {% hint style="success" %} -If you'd like to update your repository in the future to keep up to date use the command _(Make sure your in the directory you originally cloned in)_ +If you'd like to update your repository in the future to keep up to date, use the command _(Make sure you're in the directory, you originally cloned in)_ `git pull` {% endhint %} ### Installing Dependencies -Now for the fun part, by using pnpm, npm or yarn (we'll be using pnpm in this case) enter the following command to automatically obtain all required dependencies for installation. +Now for the fun part, by using `pnpm`, `npm` or `yarn` (we'll be using `pnpm` in this case) enter the following command to automatically obtain all required dependencies for installation. {% tabs %} {% tab title="pnpm" %} @@ -71,13 +71,9 @@ yarn install This step could take a little while on some machines. {% endhint %} -{% hint style="info" %} -Using npm in this stage may error out. to fix this, just simple use `--force` to supress the warnings. -{% endhint %} - ### Compiling Cider -This step takes a little while on the first compilation so bare with it as it does what it needs to do. +This step takes a little while on the first compilation so bear with it as it does what it needs to do. Compiling Cider for specific CPU architectures is a smart thing to do and you can do it by adding **switches** to the `dist` argument as displayed. @@ -118,12 +114,12 @@ On some low-end machines this process could take up to \~10 minutes. {% endhint %} {% hint style="warning" %} -This command would build 3 seperate packages of Cider, AppImage, .deb, and .snap packages +This command would build three separate packages of Cider, AppImage, .deb, and .snap packages {% endhint %} ### Compiling Cider from AUR -If you are on an arch-based Linux distribution and have an AUR helper (pacman/yay/paru/etc.), then you are in luck. Cider has 2 PKGBUILD's in the Arch User Repository. +If you are on an arch-based Linux distribution and have an AUR helper (`pacman/yay/paru/etc.`), then you are in luck. Cider has 2 PKGBUILD's in the Arch User Repository. Assuming you already have access to the AUR and have a friendly AUR helper (we will use `yay` for this example) enter the following command to automatically obtain all required dependencies for installation. diff --git a/compilation/compiling-on-macos-beta.md b/compilation/compiling-on-macos-beta.md index 053170f..818fbd8 100644 --- a/compilation/compiling-on-macos-beta.md +++ b/compilation/compiling-on-macos-beta.md @@ -44,14 +44,14 @@ git checkout develop ``` {% hint style="success" %} -If you'd like to update your repository in the future to keep up to date use the command _(Make sure your in the directory you originally cloned in)_ +If you'd like to update your repository in the future to keep up to date, use the command _(Make sure you're in the directory, you originally cloned in)_ `git pull` {% endhint %} ### Installing Dependencies -Now for the fun part, by using pnpm, npm or yarn (we'll be using pnpm in this case) enter the following command to automatically obtain all required dependencies for installation. +Now for the fun part, by using `pnpm`, `npm` or `yarn` (we'll be using `pnpm` in this case) enter the following command to automatically obtain all required dependencies for installation. {% tabs %} {% tab title="pnpm" %} @@ -102,7 +102,7 @@ Refreshing authorization token(s) Remember your account name and password because you will need it later. -Once in a while , you may need to re-authenticate the VMP account. If that is the case: +Once in a while, you may need to re-authenticate the VMP account. If that is the case: ``` python3 -m castlabs_evs.account reauth @@ -144,13 +144,29 @@ cp resources/macPackager.js node_modules/app-builder-lib/out/macPackager.js ### Compiling Cider -This step takes a little while on the first compilation so bare with it as it does what it needs to do. +This step takes a little while on the first compilation so bear with it as it does what it needs to do. -This will generate a universal signed and notarized binary. ( Don't mind the "not working" command line, it works) +This will generate a universal signed and notarized binary. (Don't mind the "not working" command line, it works) +{% tabs %} +{% tab title="pnpm" %} ``` pnpm dist:universalNotWorking -p never ``` +{% endtab %} + +{% tab title="npm" %} +``` +npm run dist:universalNotWorking -p never +``` +{% endtab %} + +{% tab title="yarn" %} +``` +yarn dist:universalNotWorking -p never +``` +{% endtab %} +{% endtabs %} {% hint style="warning" %} On some low-end machines this process could take up to \~20-30 minutes. (It will look like it hangs at the notarization part, don't exit it). diff --git a/compilation/compiling-on-windows.md b/compilation/compiling-on-windows.md index e588eec..ca90885 100644 --- a/compilation/compiling-on-windows.md +++ b/compilation/compiling-on-windows.md @@ -49,14 +49,14 @@ git checkout develop ``` {% hint style="success" %} -If you'd like to update your repository in the future to keep up to date use the command _(Make sure your in the directory you originally cloned in)_ +If you'd like to update your repository in the future to keep up to date, use the command _(Make sure you're in the directory, you originally cloned in)_ `git pull` {% endhint %} ### Installing Dependencies -Now for the fun part, by using pnpm, npm or yarn (we'll be using pnpm in this case) enter the following command to automatically obtain all required dependencies for installation. +Now for the fun part, by using `pnpm`, `npm` or `yarn` (we'll be using `pnpm` in this case) enter the following command to automatically obtain all required dependencies for installation. {% tabs %} {% tab title="pnpm" %}