1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-25 12:39:37 +00:00

FFI::: Add gen-c-bindings cargo-make target

This currently always saves the bindings to target/release.
This commit is contained in:
mcb2003 2020-12-31 15:28:03 +00:00
parent af55101824
commit 078cf83a13

View File

@ -1,3 +1,8 @@
[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",