Skip to content
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.

Latest commit

 

History

History
36 lines (26 loc) · 1.61 KB

contribution.md

File metadata and controls

36 lines (26 loc) · 1.61 KB

Contribution

Go to Setup Environment first to ensure all your hardware and software are ready.

Coding style guideline

We're following Chromium coding style for different languages: C++, Python and JavaScript.

Install tools

cd src/tools && npm install

Run tests

  • Prepare the playback files by running ./src/common/tests/fetch_tests_data.sh <playback_url>

Run linter

Run python ./tools/node_modules/widl-nan/tools/lint.py before submitting your code.

Commit message guideline

We use same Chromium commit log guideline and Github closing isses via commit messages. Use the following form:

Summary of change.

Longer description of change addressing as appropriate: why the change is made,
context if it is part of many changes, description of previous behavior and
newly introduced differences, etc.

Long lines should be wrapped to 80 columns for easier log message viewing in
terminals.

Fixes #123456

If you need release a build, follow How to Release