-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathmise.toml
More file actions
70 lines (61 loc) · 1.49 KB
/
mise.toml
File metadata and controls
70 lines (61 loc) · 1.49 KB
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
# Mise configuration file for lib-common repository.
#
# https://mise.jdx.dev/configuration.html
[tools]
# TODO support version template like for ASDF
python = '3.11'
uv = '0.7.2'
rust = '1.92.0'
[settings]
python.uv_venv_auto = true
[tasks.configure]
alias = "cfg"
description = "Configure the build"
usage = '''
flag "-p --profile <profile>" {
help "set P environment variable (\"default\" by default)"
default "default"
}
complete "profile" run="""
awk -F"'" '/profile_[a-z_]+,?$/ {print $2}' build/waftools/backend.py
"""
'''
run = "P=$usage_profile waf configure"
[tasks.configure_fast]
alias = "cf"
description = "Configure for fastest build"
usage = '''
flag "-p --profile <profile>" {
help "set P environment variable (\"debug\" by default)"
default "debug"
}
complete "profile" run="""
awk -F"'" '/profile_[a-z_]+,?$/ {print $2}' build/waftools/backend.py
"""
'''
run = "P=$usage_profile waf configure"
[tasks.configure_fast.env]
NO_DOUBLE_FPIC = "1"
NOCHECK = "1"
FAKE_VERSIONS = "1"
[tasks.build]
description = "Build the project"
run = "waf"
[tasks.check]
description = "Run tests"
run = "waf check"
[tasks.clean]
description = "Clean build artifacts"
run = "waf clean"
[tasks.static-checks]
alias = "sc"
description = "Run static checks (ruff, mypy)"
run = "./static-checks.py"
[tasks.target]
alias = "t"
description = "Build specific target(s)"
usage = '''
arg "<target>"
complete "target" run="waf list 2>/dev/null | grep -v -E \"^(Waf:|'list')\""
'''
run = "waf build --targets=${usage_target}"