forked from Sunrisepeak/d2ds
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxmake.lua
More file actions
34 lines (28 loc) · 817 Bytes
/
Copy pathxmake.lua
File metadata and controls
34 lines (28 loc) · 817 Bytes
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
add_rules("mode.debug")
set_languages("cxx11")
add_includedirs(".")
add_includedirs("dslings")
-- verify lib
add_includedirs("dstruct")
-- dslings exercises target list
includes("dslings/xmake.lua")
add_moduledirs("common")
task("d2ds")
on_run("d2ds")
set_menu {
usage = "xmake d2ds [command]",
description = "info | update | help",
options = {
{nil, "command", "v", nil, "d2ds's quick command"},
}
}
-- dslings: auto checker and update status for exercises
task("dslings")
on_run("dslings")
set_menu{
usage = "xmake dslings [options] [arguments]",
description = "exercises-code compile-time & runtime checker",
options = {
{'s', "start_target", "kv", "0.dslings-0", "check from start_target"},
}
}