Skip to content

Commit 6591a29

Browse files
committed
Publish v0.6.0
1 parent 897e005 commit 6591a29

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "livesplit-core"
3-
version = "0.5.1"
3+
version = "0.6.0"
44
authors = ["Christopher Serr <christopher.serr@gmail.com>"]
55
documentation = "https://docs.rs/livesplit-core/"
66
repository = "https://github.com/CryZe/livesplit-core"

capi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "livesplit-core-capi"
3-
version = "0.5.1"
3+
version = "0.6.0"
44
authors = ["Christopher Serr <christopher.serr@gmail.com>"]
55

66
[dependencies]

ci/before_deploy.sh

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,19 @@ main() {
1717

1818
test -f Cargo.lock || cargo generate-lockfile
1919

20-
cross rustc -p livesplit-core-capi --target $TARGET --release
20+
case $TARGET in
21+
asmjs-unknown-emscripten)
22+
cross build -p livesplit --target $TARGET --release
23+
;;
24+
wasm32-unknown-emscripten)
25+
rm target/wasm32-unknown-emscripten/release/deps/*.wasm 2>/dev/null || :
26+
rm target/wasm32-unknown-emscripten/release/deps/*.js 2>/dev/null || :
27+
cross build -p livesplit --target $TARGET --release
28+
;;
29+
*)
30+
cross rustc -p livesplit-core-capi --target $TARGET --release
31+
;;
32+
esac
2133

2234
(cd capi/bind_gen && cargo run)
2335

0 commit comments

Comments
 (0)