-
Notifications
You must be signed in to change notification settings - Fork 92
Expand file tree
/
Copy pathdevbox.json
More file actions
39 lines (39 loc) · 774 Bytes
/
devbox.json
File metadata and controls
39 lines (39 loc) · 774 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
39
{
"packages": [
"go@1.21.5",
"gopls@0.14.2",
"commitizen@3.13.0",
"go-tools@2023.1.6",
"golangci-lint@1.55.2",
"delve@1.22.0",
"hadolint@2.12.0",
"pre-commit@3.6.0",
"goreleaser@1.23.0"
],
"env": {
"NIX_HARDENING_ENABLE": ""
},
"shell": {
"init_hook": [
"export GOPATH=`pwd`/.go",
"export PATH=`pwd`/.go/bin:$PATH",
"export CGO_ENABLED=0"
],
"scripts": {
"build": [
"mkdir -p build && go build -o build/dnsdock${GOARCH:+.}${GOARCH} ./cmd/dnsdock"
],
"test": [
"go test ./..."
],
"lint": [
"go mod tidy",
"go vet ./... ",
"golangci-lint run ./..."
],
"release": [
"goreleaser --clean"
]
}
}
}