1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-25 10:09:38 +00:00
tts-rs/Makefile.toml
2021-09-28 09:33:58 +01:00

39 lines
937 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"]
[tasks.install-trunk]
install_crate = { crate_name = "trunk", binary = "trunk", test_arg = "--help" }
[tasks.install-wasm-bindgen-cli]
install_crate = { crate_name = "wasm-bindgen-cli", binary = "wasm-bindgen", test_arg = "--help" }
[tasks.build-web-example]
dependencies = ["install-trunk", "install-wasm-bindgen-cli"]
cwd = "examples/web"
command = "trunk"
args = ["build"]
[tasks.run-web-example]
dependencies = ["install-trunk", "install-wasm-bindgen-cli"]
cwd = "examples/web"
command = "trunk"
args = ["serve"]