Skip to content

doc: Simplify build process docs #2004

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 26 additions & 7 deletions doc/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -49,26 +49,45 @@ reset VS Code then run `yarn vscode:patch`.

## 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
yarn
yarn vscode
yarn build
yarn build:vscode
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
# The standalone release is in ./release-standalone
yarn test:standalone-release
yarn package
# .deb, .rpm and the standalone archive are in ./release-packages
```

## Structure