-
Notifications
You must be signed in to change notification settings - Fork 109
Expand file tree
/
Copy pathconfig.xlings
More file actions
38 lines (32 loc) · 895 Bytes
/
config.xlings
File metadata and controls
38 lines (32 loc) · 895 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
35
36
37
38
-- https://xlings.d2learn.org
xname = "d2mcpp" -- project name
-- xim-deps
xim = {
vscode = "", -- config by checker.editor
cpp = "", -- language:[windows:mingw], [linux:gcc], [macos:clang]
mdbook = "0.4.43", -- for d2x book
xppcmds = {
"xmake project -k compile_commands --project=dslings"
}
}
d2x = {
checker = {
name = "dslings",
editor = "vscode", -- option: vscode, nvim, zed
},
commands = {
update = {
linux = "tools/update_upstream.sh",
macosx = "tools/update_upstream.sh",
windows = [[tools\update_upstream.bat]],
},
},
private = {
-- project private attributes
mcpp = {
lang = "en", -- option: en, zh
}
},
}
xim[d2x.checker.editor or "vscode"] = "" -- config deps(default version
--xlings_llm_config = "llm.config.xlings"