-
-
Notifications
You must be signed in to change notification settings - Fork 449
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (34 loc) · 892 Bytes
/
Makefile
File metadata and controls
42 lines (34 loc) · 892 Bytes
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
.PHONY: all build test lint clean dev testsuite help
# Default target
all: dev
# Development workflow (equivalent to ./dev.sh)
dev:
@FORCE_COLOR=1 ./dev.sh
# Build only
build:
@FORCE_COLOR=1 ./dev.sh --skip-tests
# Run tests
test:
@go test ./...
# Run linter
lint:
@golangci-lint run
# Run full testsuite
testsuite:
@FORCE_COLOR=1 ./dev.sh --testsuite
# Clean build artifacts
clean:
@rm -rf ./bin/
# Show help
help:
@echo "Available targets:"
@echo " all - Run full development workflow (default)"
@echo " dev - Run development workflow (./dev.sh)"
@echo " build - Build only (skip tests)"
@echo " test - Run unit tests only"
@echo " lint - Run linter only"
@echo " testsuite - Run full testsuite"
@echo " clean - Clean build artifacts"
@echo " help - Show this help"
@echo ""
@echo "For more options, use: ./dev.sh --help"