diff options
| author | Fuwn <[email protected]> | 2022-03-13 07:17:44 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-03-13 07:17:44 -0700 |
| commit | 58966d1102cc6baafd90269ab2523d3f6da98e55 (patch) | |
| tree | a48a0bef996bf2cef942a6d4a0b9ea23c668afe3 /Makefile.toml | |
| download | senpy-ffi-58966d1102cc6baafd90269ab2523d3f6da98e55.tar.xz senpy-ffi-58966d1102cc6baafd90269ab2523d3f6da98e55.zip | |
feat(senpy_ffi): 0.1.0 :star:
Diffstat (limited to 'Makefile.toml')
| -rw-r--r-- | Makefile.toml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/Makefile.toml b/Makefile.toml new file mode 100644 index 0000000..edec93a --- /dev/null +++ b/Makefile.toml @@ -0,0 +1,56 @@ +# ------------ +# | Wrappers | +# ------------ +[tasks.fmt] +command = "cargo" +args = ["fmt"] +private = true + +[tasks.check] +command = "cargo" +args = ["check"] +private = true + +[tasks.clippy] +command = "cargo" +args = ["clippy"] +private = true + +# ------------- +# | Executors | +# ------------- +[tasks.checkf] +dependencies = ["fmt", "check"] + +[tasks.checkfc] +dependencies = ["fmt", "check", "clippy"] + +[tasks.docs] +workspace = false +toolchain = "nightly" +command = "cargo" +args = ["doc", "--open", "--document-private-items", "--no-deps"] + +[tasks.ffi_python] +workspace = false +dependencies = ["checkfc", "build"] +command = "py" +args = ["examples/ffi.py"] + +[tasks.ffi_lua] +workspace = false +dependencies = ["checkfc", "build"] +command = "luvit" +args = ["examples/ffi.lua"] + +[tasks.ffi_perl] +workspace = false +dependencies = ["checkfc", "build"] +command = "perl" +args = ["examples/ffi.pl"] + +[tasks.ffi_php] +workspace = false +dependencies = ["checkfc", "build"] +command = "php" +args = ["examples/ffi.php"] |