diff --git a/Makefile.toml b/Makefile.toml index 6697f15..241094f 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -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"] \ No newline at end of file +args = ["logcat", "RustStdoutStderr:D", "*:S"]