-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevbox.json
More file actions
30 lines (30 loc) · 810 Bytes
/
devbox.json
File metadata and controls
30 lines (30 loc) · 810 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
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.6/.schema/devbox.schema.json",
"packages": [
"jetbrains.goland@2024.3.3",
"go@1.23.5",
"python@3.12.12",
"curl@8.16.0"
],
"env": {
"GOPATH": "$PWD/.go",
"PATH": "$PATH:$PWD/.go/bin",
"NIX_HARDENING_ENABLE": ""
},
"shell": {
"init_hook": [
"export \"GOROOT=$(go env GOROOT)\"",
"echo 'GOROOT:' ${GOROOT}",
"echo 'GOPATH:' ${GOPATH}"
],
"scripts": {
"test": [
"go test ./... && go build",
"echo === Socks5 mock server self-test === && \\",
" python test/mock_socks5_server.py --self-test",
"echo === E2E test === && \\",
" unshare --map-root-user --net bash test/e2e.sh"
]
}
}
}