Skip to content

Commit

Permalink
GitBook: [#42] No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
Core authored and gitbook-bot committed Aug 26, 2022
1 parent c56f22f commit 4f8bc75
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 16 deletions.
14 changes: 5 additions & 9 deletions compilation/compiling-on-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" %}
Expand All @@ -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.

Expand Down Expand Up @@ -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.

Expand Down
26 changes: 21 additions & 5 deletions compilation/compiling-on-macos-beta.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" %}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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).
Expand Down
4 changes: 2 additions & 2 deletions compilation/compiling-on-windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" %}
Expand Down

0 comments on commit 4f8bc75

Please sign in to comment.