feat(api): api generation works once again

With the new structure, it should be easy to add CLI programs with
proper dependencies accordingly.
This commit is contained in:
Sebastian Thiel
2015-03-24 09:38:14 +01:00
parent 137ba8caf3
commit be7d8214c1
13 changed files with 77 additions and 16 deletions

11
etc/api/type-cli.yaml Normal file
View File

@@ -0,0 +1,11 @@
make:
target_suffix: -cli
depends_on: api
templates:
- source: ../LICENSE.md
- source: ../Cargo.toml
- source: main.rs
output_dir: src
cargo:
build_version: "0.0.1"
keywords: [cli]