mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-23 18:36:34 +11:00
Merge pull request #271 from tomaka/deploy
Setup deployment on crates.io
This commit is contained in:
commit
6f9f540451
3 changed files with 39 additions and 2 deletions
|
@ -3,6 +3,7 @@ language: rust
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- secure: "FfubMXYXu2e7chvdfKBkc+aKPkvoBOb5Idg0KCYuD++qPFIBYg6pUE8H8WvU+V7RsEBu5vshhn3dzjkKs+LXIdo5PQUMZutAgy83g5SGxRn8Ra79GjBVBs6+XOEhFun/+7fGj2Ly/AK6BTDpqyYAhAUS7jIaF6/+JWNwPwEYfdQ="
|
- secure: "FfubMXYXu2e7chvdfKBkc+aKPkvoBOb5Idg0KCYuD++qPFIBYg6pUE8H8WvU+V7RsEBu5vshhn3dzjkKs+LXIdo5PQUMZutAgy83g5SGxRn8Ra79GjBVBs6+XOEhFun/+7fGj2Ly/AK6BTDpqyYAhAUS7jIaF6/+JWNwPwEYfdQ="
|
||||||
|
- secure: "kVjHgK+6ivT5tUleNH/m6+69tPf8gkPNSPLsnXrkMJaIeXSnnKKQegP1O0UCThYAUbbwrUGlrKJUngDxkD8jSANhzAULX9t1iXho41InzYBEErTanXBYF8WO1rK1keKjLwiYw4KuvbiBoSeKabzQRwv0kMttxY57+hKVROr5dSg="
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- sudo apt-get install libXxf86vm-dev libosmesa6-dev
|
- sudo apt-get install libXxf86vm-dev libosmesa6-dev
|
||||||
|
@ -16,7 +17,8 @@ os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
|
|
||||||
after_success: |
|
after_success:
|
||||||
|
-|
|
||||||
[ $TRAVIS_BRANCH = master ] &&
|
[ $TRAVIS_BRANCH = master ] &&
|
||||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||||
cargo doc --features "window headless" &&
|
cargo doc --features "window headless" &&
|
||||||
|
@ -24,3 +26,8 @@ after_success: |
|
||||||
sudo pip install ghp-import &&
|
sudo pip install ghp-import &&
|
||||||
ghp-import -n target/doc &&
|
ghp-import -n target/doc &&
|
||||||
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
|
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
|
||||||
|
- |
|
||||||
|
[ $TRAVIS_BRANCH = master ] &&
|
||||||
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||||
|
patch Cargo.toml < preupload.patch &&
|
||||||
|
cargo publish --token ${CRATESIO_TOKEN}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
|
|
||||||
name = "glutin"
|
name = "glutin"
|
||||||
version = "0.0.4-pre"
|
version = "0.0.4"
|
||||||
authors = ["tomaka <pierre.krieger1708@gmail.com>"]
|
authors = ["tomaka <pierre.krieger1708@gmail.com>"]
|
||||||
description = "Cross-plaform OpenGL context provider. Important: the crates.io only supports Windows and Linux for the moment."
|
description = "Cross-plaform OpenGL context provider. Important: the crates.io only supports Windows and Linux for the moment."
|
||||||
keywords = ["windowing", "opengl"]
|
keywords = ["windowing", "opengl"]
|
||||||
|
|
30
preupload.patch
Normal file
30
preupload.patch
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
--- Cargo.toml.old 2015-02-15 14:00:02.613705211 +0100
|
||||||
|
+++ Cargo.toml 2015-02-15 14:00:07.309705073 +0100
|
||||||
|
@@ -27,27 +27,6 @@
|
||||||
|
[dev-dependencies]
|
||||||
|
clock_ticks = "*"
|
||||||
|
|
||||||
|
-[target.arm-linux-androideabi.dependencies.android_glue]
|
||||||
|
-git = "https://github.com/tomaka/android-rs-glue"
|
||||||
|
-
|
||||||
|
-[target.i686-apple-darwin.dependencies.cocoa]
|
||||||
|
-git = "https://github.com/servo/rust-cocoa"
|
||||||
|
-
|
||||||
|
-[target.x86_64-apple-darwin.dependencies.cocoa]
|
||||||
|
-git = "https://github.com/servo/rust-cocoa"
|
||||||
|
-
|
||||||
|
-[target.i686-apple-darwin.dependencies.core_graphics]
|
||||||
|
-git = "https://github.com/servo/rust-core-graphics"
|
||||||
|
-
|
||||||
|
-[target.x86_64-apple-darwin.dependencies.core_graphics]
|
||||||
|
-git = "https://github.com/servo/rust-core-graphics"
|
||||||
|
-
|
||||||
|
-[target.i686-apple-darwin.dependencies.core_foundation]
|
||||||
|
-git = "https://github.com/servo/rust-core-foundation"
|
||||||
|
-
|
||||||
|
-[target.x86_64-apple-darwin.dependencies.core_foundation]
|
||||||
|
-git = "https://github.com/servo/rust-core-foundation"
|
||||||
|
-
|
||||||
|
[target.i686-pc-windows-gnu.dependencies]
|
||||||
|
winapi = "0.1"
|
||||||
|
gdi32-sys = "*"
|
Loading…
Add table
Reference in a new issue