提交 23ce691c authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Improve BUILDING.md

上级 0078bd90
...@@ -62,13 +62,17 @@ In order to tun these tasks, `gulp-cli` (version >= 1.2.2) must be globally inst ...@@ -62,13 +62,17 @@ In order to tun these tasks, `gulp-cli` (version >= 1.2.2) must be globally inst
$ npm install -g gulp-cli $ npm install -g gulp-cli
``` ```
### `gulp`
The default task runs the `gulp:lint` and `gulp:test` tasks.
### `gulp lint:node` ### `gulp lint:node`
Validates the Node.js JavaScript code. Validates the Node.js JavaScript code/syntax.
### `gulp lint:worker` ### `gulp lint:worker`
Validates the worker C++ code. Validates the worker C++ code/syntax against the `worker/.clang-format` rules.
### `gulp lint` ### `gulp lint`
...@@ -78,6 +82,10 @@ Runs both the `lint:node` and `lint:worker` gulp tasks. ...@@ -78,6 +82,10 @@ Runs both the `lint:node` and `lint:worker` gulp tasks.
Rewrites all the worker source files and include files in order to satisfy the rules at `worker/.clang-format`. Rewrites all the worker source files and include files in order to satisfy the rules at `worker/.clang-format`.
### `gulp format`
Runs the `format:worker` gulp task.
### `gulp rtpcapabilities` ### `gulp rtpcapabilities`
Reads **mediasoup** [supported RTP capabilities](https://github.com/versatica/mediasoup/blob/master/lib/supportedRtpCapabilities.js) and inserts them into the worker C++ code. After that, `make Release` and/or `make Debug` must be called. Reads **mediasoup** [supported RTP capabilities](https://github.com/versatica/mediasoup/blob/master/lib/supportedRtpCapabilities.js) and inserts them into the worker C++ code. After that, `make Release` and/or `make Debug` must be called.
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论