Skip to content

Commit e92a6eb

Browse files
committed
chore: remove init_hook prefetch and anchor go cache to project root
1 parent fc668a2 commit e92a6eb

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

devbox.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,11 @@
1616
"github:NixOS/nixpkgs/nixpkgs-unstable#golangci-lint": ""
1717
},
1818
"env": {
19-
"GOMODCACHE": "$PWD/.go",
19+
"GOMODCACHE": "$DEVBOX_PROJECT_ROOT/.go",
2020
"GOTOOLCHAIN": "local",
2121
"GOROOT": null
2222
},
2323
"shell": {
24-
"init_hook": [
25-
"go mod download"
26-
],
2724
"scripts": {
2825
"test": "make test",
2926
"build": "go build ./pkg/...",

0 commit comments

Comments
 (0)