| Index: README.md
|
| diff --git a/README.md b/README.md
|
| index d7e36938a8527359a4c03830c091cdff44a1fa09..f40aa4cb9cdc09a60e11d216332973d7bba3f0cf 100644
|
| --- a/README.md
|
| +++ b/README.md
|
| @@ -4,22 +4,28 @@ Repository for building the googleapis packages
|
|
|
| ### Manual process
|
|
|
| -This should be automated, but here is the current workflow
|
| +Here is the current workflow of generating new APIs
|
|
|
| -- Clone the GitHub repro
|
| - https://github.com/dart-lang/discovery_api_dart_client_generator
|
| -- Checkout the experimental branch
|
| -- Generate from config file
|
| +- Maybe update 'pubspec.yaml' with new commit hash of the generator.
|
|
|
| - $ dart ../discovery_api_dart_client_generator/bin/generate.dart run_config
|
| + $ vim pubspec.yaml
|
|
|
| -- Downloaded discovery documents directory 'discovery'
|
| -- Generated packages in directory 'generated'
|
| +- Run 'pub upgrade' in this directory:
|
| +
|
| + $ rm -rf .pub
|
| + $ pub upgrade
|
| +
|
| +- Download & Generate APIs using the config.yaml configuration:
|
| +
|
| + $ pub run discovery_api_client_generator:generate run_config
|
|
|
| - Diff with previous apis and determine wheter to do minor or major version
|
| update
|
| +
|
| - Update config.yaml with new version and generate again
|
| +
|
| - Run tests
|
|
|
| -- Upload packages to pub
|
| - Commit downloaded discovery documents and generated packages
|
| +
|
| +- Upload packages to pub
|
|
|