-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
62 lines (51 loc) · 1.2 KB
/
Taskfile.yml
File metadata and controls
62 lines (51 loc) · 1.2 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
version: '3'
includes:
glad:
taskfile: ./cmd/glad/Taskfile.yml
dir: .
tasks:
default:
desc: 'List all available tasks'
cmd: task --list-all
# Global tasks
test:
desc: 'Run all tests'
cmds:
- go test ./...
test:verbose:
desc: 'Run all tests with verbose output'
cmds:
- go test -v ./...
test:coverage:
desc: 'Run tests with coverage report'
cmds:
- go test -v -cover ./...
- go test -coverprofile=coverage.out ./...
- go tool cover -html=coverage.out -o coverage.html
- echo 'Coverage report generated - coverage.html'
fmt:
desc: 'Format all Go code'
cmds:
- go fmt ./...
lint:
desc: 'Run Go linter'
cmds:
- echo 'Running go vet...'
- go vet ./...
clean:
desc: 'Clean build artifacts'
cmds:
- rm -rf .bin/
- echo 'Cleaned build artifacts'
# Continue AI tasks
continue:refresh-token:
desc: 'Refresh msg ai api-token'
cmds:
- scripts/continue-refresh-token.sh
# Development workflow shortcuts
dev:full-test:
desc: 'Run full development test cycle'
deps: [fmt, lint, test]
dev:quick-test:
desc: 'Quick development test'
deps: [fmt, test]