mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-25 14:19: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:
parent
af55101824
commit
078cf83a13
|
@ -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]
|
[tasks.build-android-example]
|
||||||
script = [
|
script = [
|
||||||
"cd examples/android",
|
"cd examples/android",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user