mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-23 02:16:33 +11:00
Setup deployment on crates.io
This commit is contained in:
parent
713f269ce8
commit
c3ab907e04
3 changed files with 39 additions and 2 deletions
|
@ -3,6 +3,7 @@ language: rust
|
|||
env:
|
||||
global:
|
||||
- secure: "FfubMXYXu2e7chvdfKBkc+aKPkvoBOb5Idg0KCYuD++qPFIBYg6pUE8H8WvU+V7RsEBu5vshhn3dzjkKs+LXIdo5PQUMZutAgy83g5SGxRn8Ra79GjBVBs6+XOEhFun/+7fGj2Ly/AK6BTDpqyYAhAUS7jIaF6/+JWNwPwEYfdQ="
|
||||
- secure: "kVjHgK+6ivT5tUleNH/m6+69tPf8gkPNSPLsnXrkMJaIeXSnnKKQegP1O0UCThYAUbbwrUGlrKJUngDxkD8jSANhzAULX9t1iXho41InzYBEErTanXBYF8WO1rK1keKjLwiYw4KuvbiBoSeKabzQRwv0kMttxY57+hKVROr5dSg="
|
||||
|
||||
install:
|
||||
- sudo apt-get install libXxf86vm-dev libosmesa6-dev
|
||||
|
@ -16,7 +17,8 @@ os:
|
|||
- linux
|
||||
- osx
|
||||
|
||||
after_success: |
|
||||
after_success:
|
||||
-|
|
||||
[ $TRAVIS_BRANCH = master ] &&
|
||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||
cargo doc --features "window headless" &&
|
||||
|
@ -24,3 +26,8 @@ after_success: |
|
|||
sudo pip install ghp-import &&
|
||||
ghp-import -n target/doc &&
|
||||
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]
|
||||
|
||||
name = "glutin"
|
||||
version = "0.0.4-pre"
|
||||
version = "0.0.4"
|
||||
authors = ["tomaka <pierre.krieger1708@gmail.com>"]
|
||||
description = "Cross-plaform OpenGL context provider. Important: the crates.io only supports Windows and Linux for the moment."
|
||||
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