Publish the crate on crates.io

This commit is contained in:
Pierre Krieger 2016-04-30 12:08:48 +02:00
parent 4632f1203b
commit 8f9e3220eb
6 changed files with 28 additions and 5 deletions

View File

@ -32,6 +32,15 @@ after_success:
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo install ghp &&
export PATH=/home/travis/.cargo/bin:$PATH &&
cargo doc --manifest-path vulkano/Cargo.toml &&
cargo ghp vulkano/target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo publish --no-verify --token ${CRATESIO_TOKEN} --manifest-path vk-sys/Cargo.toml
cargo publish --no-verify --token ${CRATESIO_TOKEN} --manifest-path vulkano/Cargo.toml
cargo publish --no-verify --token ${CRATESIO_TOKEN} --manifest-path vulkano-win/Cargo.toml
cargo publish --no-verify --token ${CRATESIO_TOKEN} --manifest-path glsl-to-spirv/Cargo.toml
cargo publish --no-verify --token ${CRATESIO_TOKEN} --manifest-path vulkano-shaders/Cargo.toml

View File

@ -2,6 +2,9 @@
name = "glsl-to-spirv"
version = "0.1.0"
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
repository = "https://github.com/tomaka/vulkano"
description = "Wrapper around the official GLSL to SPIR-V compiler"
license = "MIT/Apache-2.0"
build = "build/build.rs"
[dependencies]

View File

@ -2,5 +2,6 @@
name = "vk-sys"
version = "0.1.0"
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
[dependencies]
repository = "https://github.com/tomaka/vulkano"
description = "Bindings for the Vulkan graphics API"
license = "MIT/Apache-2.0"

View File

@ -2,6 +2,10 @@
name = "vulkano-shaders"
version = "0.1.0"
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
repository = "https://github.com/tomaka/vulkano"
description = "Shaders "
license = "MIT/Apache-2.0"
documentation = "http://tomaka.github.io/vulkano/vulkano/index.html"
[dependencies]
glsl-to-spirv = { path = "../glsl-to-spirv" }

View File

@ -2,7 +2,10 @@
name = "vulkano-win"
version = "0.1.0"
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
repository = "https://github.com/tomaka/vulkano"
description = "Link between vulkano and winit"
license = "MIT/Apache-2.0"
[dependencies]
vulkano = { version = "0.1", path = "../vulkano" }
winit = { git = "https://github.com/tomaka/winit" }
vulkano = { version = "0.1.0", path = "../vulkano" }
winit = "0.5.0"

View File

@ -2,7 +2,10 @@
name = "vulkano"
version = "0.1.0"
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
repository = "https://github.com/tomaka/vulkano"
description = "Safe wrapper for the Vulkan graphics API"
license = "MIT/Apache-2.0"
documentation = "http://tomaka.github.io/vulkano/vulkano/index.html"
[dependencies]
crossbeam = "0.2.5"
@ -10,4 +13,4 @@ fnv = "1.0.2"
shared_library = "0.1.4"
smallvec = "0.1.7"
lazy_static = "0.1.15"
vk-sys = { path = "../vk-sys" }
vk-sys = { version = "0.1.0", path = "../vk-sys" }