-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.toml
138 lines (106 loc) · 2.75 KB
/
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[config]
default_to_workspace = false
[env]
SOLUTIONS_PATH = { value = "./solutions", condition = { env_not_set = [
"SOLUTIONS_PATH",
] } }
[tasks.build]
command = "cargo"
args = ["build"]
[tasks.build_release]
extend = "build"
args = ["build", "--release"]
[tasks.build_solution]
command = "cargo"
args = ["make", "--cwd", "${SOLUTIONS_PATH}/${@}", "solutions_build"]
dependencies = ["build"]
[tasks.build_solution_release]
command = "cargo"
args = ["make", "--cwd", "${SOLUTIONS_PATH}/${@}", "solutions_build_release"]
dependencies = ["build_release"]
[tasks.run]
command = "cargo"
args = ["run"]
[tasks.run_release]
extend = "run"
args = ["run", "--release"]
dependencies = ["build"]
[tasks.run_solution]
command = "cargo"
args = ["make", "--cwd", "${SOLUTIONS_PATH}/${@}", "solutions_run"]
dependencies = ["build_release"]
[tasks.run_solution_release]
command = "cargo"
args = ["make", "--cwd", "${SOLUTIONS_PATH}/${@}", "solutions_run_release"]
[tasks.0]
alias = "run_0"
[tasks.run_0]
command = "cargo"
args = ["make", "run_solution_release", "lc0_general_nodes_template"]
[tasks.build_0]
command = "cargo"
args = ["make", "build_solution_release", "lc0_general_nodes_template"]
[tasks.dev_run_0]
command = "cargo"
args = ["make", "run_solution", "lc0_general_nodes_template"]
[tasks.dev_build_0]
command = "cargo"
args = ["make", "build_solution", "lc0_general_nodes_template"]
[tasks.100]
alias = "run_100"
[tasks.run_100]
command = "cargo"
args = ["make", "run_solution_release", "lc100_is_same_tree"]
[tasks.build_100]
command = "cargo"
args = ["make", "build_solution_release", "lc100_is_same_tree"]
[tasks.dev_run_100]
command = "cargo"
args = ["make", "run_solution", "lc100_is_same_tree"]
[tasks.dev_build_100]
command = "cargo"
args = ["make", "build_solution", "lc100_is_same_tree"]
[tasks.101]
alias = "run_101"
[tasks.run_101]
command = "cargo"
args = ["make", "run_solution_release", "lc101_symmetric_tree"]
[tasks.build_101]
command = "cargo"
args = ["make", "build_solution_release", "lc101_symmetric_tree"]
[tasks.dev_run_101]
command = "cargo"
args = ["make", "run_solution", "lc101_symmetric_tree"]
[tasks.dev_build_101]
command = "cargo"
args = ["make", "build_solution", "lc101_symmetric_tree"]
[tasks.103]
alias = "run_103"
[tasks.run_103]
command = "cargo"
args = [
"make",
"run_solution_release",
"lc103_binary_tree_zigzag_level_order_traversal",
]
[tasks.build_103]
command = "cargo"
args = [
"make",
"build_solution_release",
"lc103_binary_tree_zigzag_level_order_traversal",
]
[tasks.dev_run_103]
command = "cargo"
args = [
"make",
"run_solution",
"lc103_binary_tree_zigzag_level_order_traversal",
]
[tasks.dev_build_103]
command = "cargo"
args = [
"make",
"build_solution",
"lc103_binary_tree_zigzag_level_order_traversal",
]