Skip to content

Commit 098a315

Browse files
ci: refactor devbox
1 parent 84063d2 commit 098a315

File tree

2 files changed

+502
-128
lines changed

2 files changed

+502
-128
lines changed

devbox.json

Lines changed: 34 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,46 @@
11
{
2-
"packages": [
3-
4-
"python311Packages.pip@latest",
5-
"poetry@latest",
6-
"gnumake@latest",
7-
"go-task@latest",
8-
"heroku@latest",
9-
10-
"tilt@latest",
11-
"uv@latest"
12-
],
2+
"packages": {
3+
"asdf-vm": "latest",
4+
"gh": "latest",
5+
"git": "latest",
6+
"glib": "latest",
7+
"glibcLocalesUtf8": {
8+
"version": "latest",
9+
"platforms": [
10+
"x86_64-linux",
11+
"aarch64-linux"
12+
]
13+
},
14+
"gnumake": "latest",
15+
"go-task": "latest",
16+
"kubectl": "latest",
17+
"nodejs_23": "latest",
18+
"openssl": "latest",
19+
"pre-commit": "latest",
20+
"ruff": "latest",
21+
"tilt": "latest",
22+
"uv": "latest"
23+
},
1324
"env": {
14-
"VENV_DIR": ".venv"
25+
"VENV_DIR": ".venv",
26+
"UV_HTTP_TIMEOUT": "90",
27+
"UV_COMPILE_BYTECODE": "1",
28+
"UV_LINK_MODE": "copy",
29+
"LANG": "en_US.UTF-8",
30+
"LC_ALL": "en_US.UTF-8",
31+
"LANGUAGE": "en_US.UTF-8"
1532
},
1633
"shell": {
1734
"init_hook": [
35+
"[ -d ${VENV_DIR} ] || uv venv ${VENV_DIR}",
1836
". $VENV_DIR/bin/activate",
19-
"uv pip install -r requirements.txt"
37+
"uv pip install -r pyproject.toml --all-extras"
2038
],
2139
"scripts": {
40+
"install": "uv pip install -r pyproject.toml --all-extras",
2241
"export-reqs": "uv pip freeze | uv pip compile - -o requirements.txt",
23-
"install": "uv pip install -r requirements.txt",
24-
"start": "./startup.sh",
25-
"test": "poetry run pytest",
26-
"venv": "uv venv ${VENV_DIR} --allow-existing"
42+
"venv": "uv venv ${VENV_DIR}",
43+
"test": "pytest"
2744
}
2845
}
2946
}

0 commit comments

Comments
 (0)