vscode-gradle/CONTRIBUTING.md

26 строки
920 B
Markdown
Исходник Обычный вид История

2019-11-11 23:13:42 +03:00
# Contributing
2019-12-10 23:42:48 +03:00
## How to contribute
2019-11-11 23:13:42 +03:00
Start by opening an issue using one of the issue templates, or propose a change by submitting a pull request. Please include a detailed pull request description.
2019-12-10 23:42:48 +03:00
## Running the project
2020-02-16 02:27:49 +03:00
1. Install [nvm](https://github.com/nvm-sh/nvm)
2. Install protobuf compiler: `brew install protobuf`
2020-02-15 15:35:41 +03:00
3. Install [Java version >= 8](https://adoptopenjdk.net/)
4. Change directory to the root of the project
2020-02-16 02:27:49 +03:00
5. Select Node version: `nvm use`
2020-02-15 15:35:41 +03:00
6. Install Node packages: `npm install`
2020-02-16 02:27:49 +03:00
7. Build Java lib: `npm run compile:java`
8. Build proto lib: `npm run compile:proto`
2019-12-10 23:42:48 +03:00
Now open the root of the project in VS Code, click on the Debug panel, and select either "Run Extension" or any of the test launch configurations.
### Code style
2019-11-11 23:13:42 +03:00
Prettier is used to lint & format the code. The builds will not pass if there are linting issues.
2019-12-10 23:42:48 +03:00
- Lint: `npm run lint`
- Fix linting issues: `npm run lint:fix`