Files
google-apis-rs/etc/api/shared.yaml
Sebastian Thiel 087a0762ac feat(mako-render): multiple input-outputs per call
That way, we read the data files only once, but produce all the outputs
we need. Together with a powerful makefile, we have a multi-invocation
with proper depedency tracking.
Everything will be regenerated though, even though just a single input
template file changed.

The alternative would be to have one dependency and invocation per
input dependency, but that will read the entire json each time.

Let's see what's faster/more useful during development.
2015-03-01 17:44:02 +01:00

23 lines
615 B
YAML

# Contains values shared among all API implementations
directories:
# directory under which all generated sources should reside
output: ./generated
# how to get from `output` back to common library
common: ../
# where are all the API meta files
api_base: ./etc/api
# all mako source files
mako_src: ./src/mako
api:
list:
- name: youtube
version: v3
base_path: "etc/api"
cargo:
build_version: "0.0.1"
authors:
- Sebastian Thiel <byronimo@gmail>
keywords: [google, protocol]
# All APIs should live in the same repository
repository_url: https://github.com/Byron/youtube-rs