aboutsummaryrefslogtreecommitdiff
path: root/Makefile.toml
blob: 735e2f929f5cbd853c77404b38acc4e399598c1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# ------------
# | 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"]

[tasks.ffi_julia]
workspace = false
dependencies = ["checkfc", "build"]
command = "julia"
args = ["examples/ffi.jl"]