fix(versions): cli + api use a single base version

That way we get rid of the duplication at least.
Probably it would be enough to just refer to version 1 of the
library respectively, and let semver do the rest.
This commit is contained in:
Sebastian Thiel
2016-12-24 15:23:09 +01:00
parent cc30a2e20b
commit 5e28a06dc0
4 changed files with 2 additions and 11 deletions

View File

@@ -65,14 +65,8 @@ directories:
mako_src: src/mako
# The subdirectory to contain documentation from all APIs and related programs
doc_subdir: doc
# This somewhat intricate setup allows the CLI to access certain cargo-API values,
# without having us duplicate them.
cargo_api: &cargo_api
build_version: "1.0.0"
cargo:
# This means that the API must not specify the shared variables from cargo_api
# anymore
<<: *cargo_api
build_version: "1.0.0"
repo_base_url: https://github.com/Byron/google-apis-rs
authors:
# don't forget to possibly add them to copyright authors

View File

@@ -25,7 +25,6 @@ make:
- source: build.rs
output_dir: src
cargo:
build_version: "1.0.0"
build_script: src/build.rs
keywords: [protocol, web, api]
doc_base_url: https://docs.rs

View File

@@ -23,7 +23,6 @@ make:
- source: main.rs
output_dir: src
cargo:
build_version: "1.0.0"
keywords: [cli]
is_executable: YES
doc_base_url: http://byron.github.io/google-apis-rs