mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-25 11:59:38 +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]
|
||||
script = [
|
||||
"cd examples/android",
|
||||
|
@ -12,4 +17,4 @@ script = [
|
|||
|
||||
[tasks.log-android]
|
||||
command = "adb"
|
||||
args = ["logcat", "RustStdoutStderr:D", "*:S"]
|
||||
args = ["logcat", "RustStdoutStderr:D", "*:S"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user