未验证 提交 536ccc0f 编写于 作者: A Anmol Sethi 提交者: GitHub

doc: Simplify build process docs (#2004)

Much easier for users to use our CI scripts instead of each individual
yarn step.
上级 312a4d58
...@@ -60,26 +60,45 @@ reset VS Code then run `yarn vscode:patch`. ...@@ -60,26 +60,45 @@ reset VS Code then run `yarn vscode:patch`.
## Build ## Build
You can build with:
```shell
./ci/steps/release.sh
```
Run your build with:
```
cd release
yarn --production
# Runs the built JavaScript with Node.
node .
```
Build release packages (make sure you run `./ci/steps/release.sh` first):
```
./ci/steps/release-packages.sh
# The standalone release is in ./release-standalone
# .deb, .rpm and the standalone archive are in ./release-packages
```
The `release.sh` script is the equivalent of:
```shell ```shell
yarn yarn
yarn vscode yarn vscode
yarn build yarn build
yarn build:vscode yarn build:vscode
yarn release yarn release
cd release
yarn --production
# Runs the built JavaScript with Node.
node .
``` ```
Now you can build release packages with: And `release-packages.sh` is:
``` ```
yarn release:standalone yarn release:standalone
# The standalone release is in ./release-standalone
yarn test:standalone-release yarn test:standalone-release
yarn package yarn package
# .deb, .rpm and the standalone archive are in ./release-packages
``` ```
## Structure ## Structure
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册