-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump version of dependencies for the next release * Update the README and examples * Fix the lyon example * Create a script that automates most of the release procedures * Update the example HTML file * Update the website for 0.3 * Update the available features list in the README and website * Bump the version
- Loading branch information
1 parent
21f81f1
commit 210b737
Showing
38 changed files
with
7,618 additions
and
420 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "quicksilver" | ||
description = "A simple game framework for 2D games in pure Rust" | ||
version = "0.2.1" | ||
version="0.3.0" | ||
authors = ["Ryan Goldstein <[email protected]>"] | ||
categories = ["game-engines"] | ||
homepage = "https://ryanisaacg.github.io/quicksilver" | ||
|
@@ -11,7 +11,7 @@ readme = "README.md" | |
repository = "https://github.com/ryanisaacg/quicksilver" | ||
|
||
[features] | ||
default = ["collisions", "fonts", "gamepads", "saving", "sounds"] | ||
default = ["collisions", "complex_shapes", "fonts", "gamepads", "saving", "sounds"] | ||
|
||
collisions = ["nalgebra", "ncollide2d"] | ||
complex_shapes = ["lyon"] | ||
|
@@ -33,14 +33,14 @@ lyon = { version = "0.11", features = ["extra"], optional = true } | |
rand = { version = "0.5.0", features = ["stdweb"] } | ||
serde = "1.0" | ||
serde_derive = "1.0" | ||
nalgebra = { version = "0.15.1", optional = true } | ||
ncollide2d = { version = "0.16.0", optional = true } | ||
nalgebra = { version = "0.16", features = ["stdweb"], optional = true } | ||
ncollide2d = { version = "0.17", optional = true } | ||
immi = { version = "1.0", optional = true } | ||
rusttype = { version = "0.6", optional = true } | ||
rusttype = { version = "0.7", optional = true } | ||
serde_json = { version = "1.0", optional = true } | ||
|
||
[dev-dependencies] | ||
alga = "0.6" | ||
alga = "0.7" | ||
|
||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies] | ||
gl = "0.10" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/sh | ||
set -e | ||
cargo test | ||
echo '--- Remove the old build artifacts ---' | ||
for file in $(ls -I docs/index.html -I docs/example.html -I docs/prism.css -I docs/prism.js -I docs/style.js docs/) | ||
do | ||
rm docs/$file | ||
done | ||
for example in examples/* | ||
do | ||
example=$(basename $example .rs) | ||
echo "---- Building example: $example ----" | ||
cargo +nightly web build --target wasm32-unknown-unknown --release --example $example | ||
echo "--- Copying build artifacts: $example ----" | ||
cp target/wasm32-unknown-unknown/release/examples/$example.wasm docs/$example.wasm | ||
cp target/wasm32-unknown-unknown/release/examples/$example.js docs/$example.js | ||
done | ||
|
||
echo "--- Copying assets to the web directory ---" | ||
cp static/* docs/ | ||
read -p "New version string: " version | ||
|
||
echo "--- Bumping version of the html_url_root ---" | ||
sed -e "s/html_root_url = \".*\"/html_root_url = \"https:\/\/docs.rs\/quicksilver\/$version\/quicksilver\"/g" -i src/lib.rs | ||
|
||
echo "--- Bumping version in Cargo.toml ---" | ||
sed -e "s/^version = \".*\"/version=\"$version\"/g" -i Cargo.toml | ||
|
File renamed without changes
File renamed without changes.
Oops, something went wrong.