Skip to content

Commit

Permalink
Release v0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
CryZe committed May 27, 2017
1 parent 422ad56 commit 06e2f47
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 7 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ matrix:
- env: TARGET=x86_64-unknown-linux-gnu
- env: TARGET=x86_64-unknown-linux-musl

# iOS
- env: TARGET=aarch64-apple-ios DISABLE_TESTS=1
os: osx
- env: TARGET=armv7-apple-ios DISABLE_TESTS=1
os: osx
- env: TARGET=armv7s-apple-ios DISABLE_TESTS=1
os: osx
- env: TARGET=i386-apple-ios DISABLE_TESTS=1
os: osx
- env: TARGET=x86_64-apple-ios DISABLE_TESTS=1
os: osx

# Android
- env: TARGET=arm-linux-androideabi DISABLE_TESTS=1
- env: TARGET=aarch64-linux-android DISABLE_TESTS=1
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "livesplit-core"
version = "0.5.0"
version = "0.5.1"
authors = ["Christopher Serr <[email protected]>"]
documentation = "https://docs.rs/livesplit-core/"
repository = "https://github.com/CryZe/livesplit-core"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Additional Bindings are available for the following programming languages:
- C#
- Java with Java Native Access or Java Native Interface
- Kotlin with Java Native Interface
- Swift
- Ruby
- Python
- JavaScript + TypeScript for Node.js, asm.js and WebAssembly
Expand Down
2 changes: 1 addition & 1 deletion capi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "livesplit-core-capi"
version = "0.5.0"
version = "0.5.1"
authors = ["Christopher Serr <[email protected]>"]

[dependencies]
Expand Down
6 changes: 2 additions & 4 deletions capi/bind_gen/src/kotlin/jni.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,10 +328,8 @@ fn write_native_class<P: AsRef<Path>>(path: P, classes: &BTreeMap<String, Class>
r#"package livesplitcore
object LiveSplitCoreNative {
companion object {
init {
System.loadLibrary("native-lib")
}
init {
System.loadLibrary("native-lib")
}
external fun Run_parseString(data: String): Long"#)?;

Expand Down
2 changes: 1 addition & 1 deletion ci/before_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ main() {
cp target/$TARGET/release/liblivesplit_core_capi.so $stage/liblivesplit_core.so 2>/dev/null || :
;;
osx)
cp target/$TARGET/release/liblivesplit_core_capi.dylib $stage/liblivesplit_core.dylib
cp target/$TARGET/release/liblivesplit_core_capi.dylib $stage/liblivesplit_core.dylib 2>/dev/null || :
;;
esac
cp target/$TARGET/release/liblivesplit_core_capi.a $stage/liblivesplit_core.a
Expand Down
18 changes: 18 additions & 0 deletions ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,24 @@ main() {
sort=gsort # for `sort --sort-version`, from brew's coreutils.
fi

case $TARGET in
aarch64-apple-ios)
rustup target install aarch64-apple-ios
;;
armv7-apple-ios)
rustup target install armv7-apple-ios
;;
armv7s-apple-ios)
rustup target install armv7s-apple-ios
;;
i386-apple-ios)
rustup target install i386-apple-ios
;;
x86_64-apple-ios)
rustup target install x86_64-apple-ios
;;
esac

# This fetches latest stable release
local tag=$(git ls-remote --tags --refs --exit-code https://github.com/japaric/cross \
| cut -d/ -f3 \
Expand Down

0 comments on commit 06e2f47

Please sign in to comment.