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

View File

@@ -16,7 +16,7 @@ make:
templates:
# all output directories are relative to the one set for the respective API
- source: README.md
- source: LICENSE.md
- source: ../LICENSE.md
- source: ../Cargo.toml
- source: lib.rs
output_dir: src

View File

@@ -1,7 +1,9 @@
make:
target_suffix: cli
target_suffix: -cli
depends_on: api
templates:
- source: ../LICENSE.md
- source: ../Cargo.toml
- source: main.rs
output_dir: src
cargo: