1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-25 12:39:37 +00:00
tts-rs/Makefile.toml
mcb2003 078cf83a13 FFI::: Add gen-c-bindings cargo-make target
This currently always saves the bindings to target/release.
2020-12-31 15:31:13 +00:00

21 lines
416 B
TOML

[tasks.gen-c-bindings]
install_crate = "cbindgen"
command = "cbindgen"
args = ["-c", "cbindgen.toml", "-o", "target/release/tts-rs.h"]
[tasks.build-android-example]
script = [
"cd examples/android",
"./gradlew assembleDebug",
]
[tasks.run-android-example]
script = [
"cd examples/android",
"./gradlew runDebug",
]
[tasks.log-android]
command = "adb"
args = ["logcat", "RustStdoutStderr:D", "*:S"]