提交 117137a5 编写于 作者: J Jason Simmons 提交者: GitHub

Update the docs for the license script (#3525)

上级 28c916af
To update the sky_engine LICENSE file, run the following in this directory:
To update the golden license files, run the following in this directory:
```
pub get
gclient sync
dart lib/main.dart ../../.. > ../../sky/packages/sky_engine/LICENSE
dart --checked lib/main.dart ../../.. > ../../travis/licenses.golden
dart lib/main.dart --src ../../.. --out ../../../out/licenses --golden ../../travis/licenses_golden
```
Then copy any affected files from `../../../out/licenses` to `../../travis/licenses_golden` and add them to your change.
The `sky/packages/sky_engine/LICENSE` file is included in product releases and should be updated any time the golden file changes in a way that involves changes to anything other than the FILE lines. To update this file, run:
```
pub get
gclient sync
dart lib/main.dart --release --src ../../.. --out ../../../out/licenses > ../../sky/packages/sky_engine/LICENSE
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册