-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile.toml
62 lines (54 loc) · 895 Bytes
/
Makefile.toml
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
[config]
skip_core_tasks = true
default_to_workspace = false
[tasks.test]
cwd = "./build/"
command = "make"
args = [ "test" ]
[tasks.build]
dependencies = [ "cmake" ]
command = "cmake"
args = [ "--build", "build" ]
[tasks.cmake]
command = "cmake"
args = [
"-S",
".",
"-B",
"build",
"-DBUILD_TESTING=ON",
]
[tasks.lint]
command = "cabin"
args = [
"lint",
"--exclude", "Catch2",
"--exclude", "mitama-utest-utilities",
]
[tasks.fmt-lib]
install_crate = "fd-find"
cwd = "./include/"
command = "fd"
args = [
"-e", "hpp",
"-e", "cpp",
"-x", "clang-format", "-i"
]
[tasks.fmt-test]
install_crate = "fd-find"
cwd = "./test/"
command = "fd"
args = [
"-e", "hpp",
"-e", "cpp",
"-x", "clang-format", "-i"
]
[tasks.fmt]
dependencies = [ "fmt-lib", "fmt-test" ]
[tasks.pretty]
dependencies = [
"fmt",
"lint",
"build",
"test"
]