Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Unified Diff: README.md

Issue 559053002: Generate 0.1.0 version of googleapis/googleapis_beta (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | discovery/googleapis/adexchangebuyer__v1.3.json » ('j') | pubspec.yaml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | discovery/googleapis/adexchangebuyer__v1.3.json » ('j') | pubspec.yaml » ('J')

Powered by Google App Engine
This is Rietveld 408576698