Update the docs for the license script (flutter/engine#3525)

This commit is contained in:
Jason Simmons
2017-03-27 14:27:31 -07:00
committed by GitHub
parent 2eb56665e2
commit 4b2047cdfb

View File

@@ -1,8 +1,17 @@
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
```