Skip to content

Commit 4ce53eb

Browse files
committed
refactor: migrate from Makefile to MAGE-X for build and task management
- Removed the Makefile and its associated commands. - Updated tasks in .vscode/tasks.json to utilize MAGE-X for linting, testing, building, and versioning. - Enhanced README.md to reflect the transition to MAGE-X, including installation instructions and usage examples. - Updated badge links and descriptions in README.md to indicate MAGE-X support. - Improved documentation on workflows and pre-commit hooks to align with new task management.
1 parent 93d7d04 commit 4ce53eb

File tree

95 files changed

+18644
-5860
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+18644
-5860
lines changed

.devcontainer.json

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
{
2-
"name": "go-lockfree-queue dev container",
3-
"image": "mcr.microsoft.com/devcontainers/go:0-1.24-bullseye",
4-
"features": {
5-
"ghcr.io/devcontainers/features/github-cli:1": {},
6-
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
7-
},
8-
"mounts": [
9-
"type=cache,target=/home/vscode/.cache/go-build",
10-
"type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock"
11-
],
12-
"runArgs": [
13-
"--cap-drop=ALL",
14-
"--security-opt",
15-
"no-new-privileges:true"
16-
],
17-
"postCreateCommand": "make lint && go vet ./... && go test ./...",
18-
"customizations": {
19-
"vscode": {
20-
"settings": {
21-
"go.useLanguageServer": true,
22-
"go.lintTool": "golangci-lint",
23-
"go.toolsEnvVars": {
24-
"GOFLAGS": "-buildvcs=false"
25-
},
26-
"editor.formatOnSave": true,
27-
"editor.codeActionsOnSave": {
28-
"source.organizeImports": true
29-
}
30-
},
31-
"extensions": [
32-
"golang.Go",
33-
"github.vscode-github-actions",
34-
"eamodio.gitlens"
35-
]
36-
}
37-
},
38-
"remoteUser": "vscode"
2+
"customizations": {
3+
"vscode": {
4+
"extensions": [
5+
"golang.Go",
6+
"github.vscode-github-actions",
7+
"eamodio.gitlens"
8+
],
9+
"settings": {
10+
"editor.codeActionsOnSave": {
11+
"source.organizeImports": true
12+
},
13+
"editor.formatOnSave": true,
14+
"go.lintTool": "golangci-lint",
15+
"go.toolsEnvVars": {
16+
"GOFLAGS": "-buildvcs=false"
17+
},
18+
"go.useLanguageServer": true
19+
}
20+
}
21+
},
22+
"features": {
23+
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
24+
"ghcr.io/devcontainers/features/github-cli:1": {}
25+
},
26+
"image": "mcr.microsoft.com/devcontainers/go:0-1.24-bullseye",
27+
"mounts": [
28+
"type=cache,target=/home/vscode/.cache/go-build",
29+
"type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock"
30+
],
31+
"name": "go-lockfree-queue dev container",
32+
"postCreateCommand": "make lint && go vet ./... && go test ./...",
33+
"remoteUser": "vscode",
34+
"runArgs": [
35+
"--cap-drop=ALL",
36+
"--security-opt",
37+
"no-new-privileges:true"
38+
]
3939
}

0 commit comments

Comments
 (0)