Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 09d7c98069 | |||
| b46a998aac |
@ -12,7 +12,7 @@
|
|||||||
"remoteUser": "vscode",
|
"remoteUser": "vscode",
|
||||||
|
|
||||||
// Run once after the container is created.
|
// Run once after the container is created.
|
||||||
"postCreateCommand": "make init",
|
"postCreateCommand": "make init && make tools",
|
||||||
|
|
||||||
// Fix ownership of the mounted ~/.claude so the vscode user can read host auth.
|
// Fix ownership of the mounted ~/.claude so the vscode user can read host auth.
|
||||||
"postStartCommand": "sudo chown -R vscode:vscode /home/vscode/.claude 2>/dev/null || true",
|
"postStartCommand": "sudo chown -R vscode:vscode /home/vscode/.claude 2>/dev/null || true",
|
||||||
@ -35,6 +35,7 @@
|
|||||||
"github.copilot.inlineSuggest.enable": false,
|
"github.copilot.inlineSuggest.enable": false,
|
||||||
|
|
||||||
"go.useLanguageServer": true,
|
"go.useLanguageServer": true,
|
||||||
|
"go.toolsManagement.autoUpdate": false,
|
||||||
"go.lintTool": "golangci-lint",
|
"go.lintTool": "golangci-lint",
|
||||||
"go.lintFlags": ["--fast"],
|
"go.lintFlags": ["--fast"],
|
||||||
"go.lintOnSave": "workspace",
|
"go.lintOnSave": "workspace",
|
||||||
@ -59,6 +60,7 @@
|
|||||||
"forwardPorts": [8080],
|
"forwardPorts": [8080],
|
||||||
|
|
||||||
"remoteEnv": {
|
"remoteEnv": {
|
||||||
"CONFIG_PATH": "${containerWorkspaceFolder}/config/dev.yaml"
|
"CONFIG_PATH": "${containerWorkspaceFolder}/config/dev.yaml",
|
||||||
|
"GOPRIVATE": "gitea.djmil.dev"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
1
Makefile
1
Makefile
@ -14,6 +14,7 @@ help: ## Show this help message
|
|||||||
|
|
||||||
# ── First-time setup ───────────────────────────────────────────────────────────
|
# ── First-time setup ───────────────────────────────────────────────────────────
|
||||||
init: ## First-time project init: fetch deps, configure git hooks
|
init: ## First-time project init: fetch deps, configure git hooks
|
||||||
|
go env -w GOPRIVATE=gitea.djmil.dev
|
||||||
go mod tidy
|
go mod tidy
|
||||||
$(MAKE) setup
|
$(MAKE) setup
|
||||||
@echo "Done! Run 'make build' to verify."
|
@echo "Done! Run 'make build' to verify."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user