mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-05 19:16:24 +01:00
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.
23 lines
615 B
YAML
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
|