Compare commits

...

2 Commits
v0.2.0 ... main

Author SHA1 Message Date
09d7c98069 install tools on devcontainer creation
this will stop vscode's Go extension of installing `golangci-lint@latest`
2026-04-09 07:03:21 +00:00
b46a998aac GOPRIVATE=gitea.djmil.dev 2026-04-08 21:02:51 +00:00
2 changed files with 5 additions and 2 deletions

View File

@ -12,7 +12,7 @@
"remoteUser": "vscode",
// 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.
"postStartCommand": "sudo chown -R vscode:vscode /home/vscode/.claude 2>/dev/null || true",
@ -35,6 +35,7 @@
"github.copilot.inlineSuggest.enable": false,
"go.useLanguageServer": true,
"go.toolsManagement.autoUpdate": false,
"go.lintTool": "golangci-lint",
"go.lintFlags": ["--fast"],
"go.lintOnSave": "workspace",
@ -59,6 +60,7 @@
"forwardPorts": [8080],
"remoteEnv": {
"CONFIG_PATH": "${containerWorkspaceFolder}/config/dev.yaml"
"CONFIG_PATH": "${containerWorkspaceFolder}/config/dev.yaml",
"GOPRIVATE": "gitea.djmil.dev"
}
}

View File

@ -14,6 +14,7 @@ help: ## Show this help message
# ── First-time setup ───────────────────────────────────────────────────────────
init: ## First-time project init: fetch deps, configure git hooks
go env -w GOPRIVATE=gitea.djmil.dev
go mod tidy
$(MAKE) setup
@echo "Done! Run 'make build' to verify."