2019-06-05 23:35:01 +02:00
|
|
|
# Build guide for AMO
|
|
|
|
|
|
|
|
## Build platform
|
|
|
|
|
2019-09-14 23:01:02 +02:00
|
|
|
The extension is built on a PC running Manjaro Linux. npm and node are installed from repositories/aur.
|
2019-06-05 23:35:01 +02:00
|
|
|
|
2020-06-14 23:41:02 +02:00
|
|
|
### Software versions:
|
|
|
|
|
|
|
|
Node/npm versions:
|
|
|
|
|
|
|
|
```
|
|
|
|
node: %%NODE_VERSION%%
|
|
|
|
npm: %%NPM_VERSION%%
|
|
|
|
```
|
|
|
|
|
|
|
|
Linux (`uname -a`):
|
|
|
|
|
|
|
|
```
|
2020-06-16 21:35:21 +02:00
|
|
|
%%LINUX_VERSION%%
|
2020-06-14 23:41:02 +02:00
|
|
|
```
|
|
|
|
|
2019-06-05 23:35:01 +02:00
|
|
|
## Reproducing build
|
|
|
|
|
2020-06-16 21:41:16 +02:00
|
|
|
Run the following commands to install dependencies and compile the firefox build:
|
|
|
|
|
2020-06-16 21:40:03 +02:00
|
|
|
```
|
|
|
|
npm ci
|
|
|
|
npm run build
|
|
|
|
```
|
2019-06-05 23:35:01 +02:00
|
|
|
|
2020-06-16 21:40:03 +02:00
|
|
|
The compiled code pops up in `/dist-ff`.
|