Skip to content

Commit

Permalink
Add README.mds to crate.io crates. (#1124)
Browse files Browse the repository at this point in the history
Add `README.md`s to crate.io crates.
  • Loading branch information
goddessfreya authored Mar 16, 2019
1 parent 2c997b6 commit 3b56571
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 17 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ addons:
env:
global:
- secure: "kVjHgK+6ivT5tUleNH/m6+69tPf8gkPNSPLsnXrkMJaIeXSnnKKQegP1O0UCThYAUbbwrUGlrKJUngDxkD8jSANhzAULX9t1iXho41InzYBEErTanXBYF8WO1rK1keKjLwiYw4KuvbiBoSeKabzQRwv0kMttxY57+hKVROr5dSg="
- secure: g4ZP621rbq7nPU8Df9/92haJda2R+Sb84lUQIONh6JDTrgw7/mnfmbnZGzXo3gpjKZCuPfdu8D0knMjn7aLaI7U1yczzNs2wwD+G8txNN/rM7VEuzk8BN0Kl1iKbnY9ZtAGLVTMSR6NVAKWAaisNkMLpWDiftTNOkXxTQYerxvw=

install:
- rustup self update
Expand All @@ -68,12 +69,9 @@ after_success:
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] && {
cd glutin
for crate in ../glutin_*; do
# We can't do the glutin crate first because it depends on the others.
if [ "$crate" != "glutin" ]; then
cd "$crate"
cargo publish --token ${CRATESIO_TOKEN}
fi
for crate in ../glutin_*_sys; do
cd "$crate"
cargo publish --token ${CRATESIO_TOKEN_GENTZ}
done
cd ../glutin
Expand Down
9 changes: 4 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ members = [
]

[replace]
"glutin_egl_sys:0.1.1" = { path = "glutin_egl_sys" }
"glutin_glx_sys:0.1.1" = { path = "glutin_glx_sys" }
"glutin_wgl_sys:0.1.1" = { path = "glutin_wgl_sys" }
"glutin_gles2_sys:0.1.1" = { path = "glutin_gles2_sys" }

"glutin_egl_sys:0.1.2" = { path = "glutin_egl_sys" }
"glutin_glx_sys:0.1.2" = { path = "glutin_glx_sys" }
"glutin_wgl_sys:0.1.2" = { path = "glutin_wgl_sys" }
"glutin_gles2_sys:0.1.2" = { path = "glutin_gles2_sys" }
2 changes: 1 addition & 1 deletion glutin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ glutin_egl_sys = "0.1.1"
osmesa-sys = "0.1"
wayland-client = { version = "0.21", features = ["egl", "dlopen"] }
libloading = "0.5"
shared_library = "0.1"
shared_library = "0.1.1"
glutin_egl_sys = "0.1.1"
glutin_glx_sys = "0.1.1"
3 changes: 2 additions & 1 deletion glutin_egl_sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "glutin_egl_sys"
version = "0.1.1"
version = "0.1.2"
authors = ["The glutin contributors", "Hal Gentz <[email protected]>"]
description = "The egl bindings for glutin"
repository = "https://github.com/tomaka/glutin"
license = "Apache-2.0"
readme = "README.md"
build = "build.rs"
edition = "2018"

Expand Down
3 changes: 3 additions & 0 deletions glutin_egl_sys/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# glutin_egl_sys

Glutin's egl bindings.
3 changes: 2 additions & 1 deletion glutin_examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "glutin_examples"
version = "0.1.1"
version = "0.1.2"
authors = ["The glutin contributors", "Hal Gentz <[email protected]>"]
description = "Examples for glutin"
repository = "https://github.com/tomaka/glutin"
license = "Apache-2.0"
readme = "../README.md"
build = "build.rs"
edition = "2018"
publish = false
Expand Down
3 changes: 2 additions & 1 deletion glutin_gles2_sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "glutin_gles2_sys"
version = "0.1.1"
version = "0.1.2"
authors = ["The glutin contributors", "Hal Gentz <[email protected]>"]
description = "The gles2 bindings for glutin"
repository = "https://github.com/tomaka/glutin"
license = "Apache-2.0"
readme = "README.md"
build = "build.rs"
edition = "2018"

Expand Down
3 changes: 3 additions & 0 deletions glutin_gles2_sys/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# glutin_gles2_sys

Glutin's gles2 bindings.
3 changes: 2 additions & 1 deletion glutin_glx_sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "glutin_glx_sys"
version = "0.1.1"
version = "0.1.2"
authors = ["The glutin contributors", "Hal Gentz <[email protected]>"]
description = "The glx bindings for glutin"
repository = "https://github.com/tomaka/glutin"
license = "Apache-2.0"
readme = "README.md"
build = "build.rs"
edition = "2018"

Expand Down
3 changes: 3 additions & 0 deletions glutin_glx_sys/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# glutin_glx_sys

Glutin's glx bindings.
3 changes: 2 additions & 1 deletion glutin_wgl_sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "glutin_wgl_sys"
version = "0.1.1"
version = "0.1.2"
authors = ["The glutin contributors", "Hal Gentz <[email protected]>"]
description = "The wgl bindings for glutin"
repository = "https://github.com/tomaka/glutin"
license = "Apache-2.0"
readme = "README.md"
build = "build.rs"
edition = "2018"

Expand Down
3 changes: 3 additions & 0 deletions glutin_wgl_sys/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# glutin_wgl_sys

Glutin's wgl bindings.

0 comments on commit 3b56571

Please sign in to comment.