-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathVibefile
More file actions
73 lines (47 loc) · 2.23 KB
/
Copy pathVibefile
File metadata and controls
73 lines (47 loc) · 2.23 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
model = claude-sonnet-4-6
name = pi-go
module = github.com/dimetron/pi-go
# ── build & test ──────────────────────────────
build:
"compile the Go binary named $(name) from the module root"
test:
"run all Go tests in every package with verbose output and race detection enabled"
lint:
"run golangci-lint on the entire module. if golangci-lint is not installed, install it first using go install"
fmt:
"format all .go files using gofmt -s -w and then run go mod tidy"
vet:
"run go vet on all packages in the module"
# ── quality gates ─────────────────────────────
check: fmt vet lint test:
"print a summary of what passed — all quality gates complete"
cve-scan:
"run govulncheck on the entire module"
# ── housekeeping ──────────────────────────────
clean:
"remove the $(name) binary and the dist/ directory if they exist"
install: build:
"move the compiled $(name) binary to $GOPATH/bin or ~/go/bin"
# ── makefile ──────────────────────────────────
make-build:
"run the existing Makefile target 'build' by executing make build"
make-test:
"run the existing Makefile target 'test' by executing make test"
make-test-unit:
"run the existing Makefile target 'test-unit' by executing make test-unit"
make-test-integration:
"run the existing Makefile target 'test-integration' by executing make test-integration"
make-test-e2e:
"run the existing Makefile target 'test-e2e' by executing make test-e2e"
make-e2e:
"run the existing Makefile target 'e2e' by executing make e2e"
make-test-all:
"run the existing Makefile target 'test-all' by executing make test-all"
make-test-coverage:
"run the existing Makefile target 'test-coverage' by executing make test-coverage"
make-test-ollama:
"run the existing Makefile target 'test-ollama' by executing make test-ollama"
make-lint:
"run the existing Makefile target 'lint' by executing make lint"
make-clean:
"run the existing Makefile target 'clean' by executing make clean"