feat(pyratemp): successfully generating make deps

After minor modifications to pyratemp, it certainly does the job.

What it **does NOT** do:

* multiple outputs per template/command invocation
* NICE embedding of code (like GSL can)

It will do the job nonetheless, but mako might be worth a look
This commit is contained in:
Sebastian Thiel
2015-03-01 15:08:37 +01:00
parent 179c64c5e7
commit c0bfeabbc3
7 changed files with 269 additions and 36 deletions

20
etc/api/shared.yaml Normal file
View File

@@ -0,0 +1,20 @@
# 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
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

View File

@@ -1,12 +0,0 @@
# Contains values shared among all API implementations
apis:
base_path: "etc/api"
- name: youtube
version: v3
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