-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdevbox.json
More file actions
33 lines (33 loc) · 951 Bytes
/
devbox.json
File metadata and controls
33 lines (33 loc) · 951 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
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.14.0/.schema/devbox.schema.json",
"packages": [
"git@latest",
"go@1.25.5",
"golangci-lint@2.9.0",
"just@latest",
"templ@0.3.960"
],
"env": {
"GOPATH": "$HOME/go/",
"PATH": "$PATH:$HOME/go/bin"
},
"shell": {
"init_hook": [
"echo '\nWelcome to @indaco/goaster devbox!\n'",
"echo '* Set GOROOT'",
"export GOROOT=$(go env GOROOT)",
"echo '* Set Git hooks path\n'",
"find .githooks -type f -exec chmod +x {} \\;",
"git config core.hooksPath .githooks",
"echo '* Install tempo-cli'",
"go install github.com/indaco/tempo/cmd/tempo@latest",
"echo '* Install go-modernize'",
"go install golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest"
],
"scripts": {
"build": ["just build"],
"templ": ["just templ"],
"test": ["just test"]
}
}
}