-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (31 loc) · 785 Bytes
/
Makefile
File metadata and controls
38 lines (31 loc) · 785 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
.PHONY: all test clean help
all: test
# Run tests
test:
@echo "Running tests..."
go test -v github.com/bytebase/parser/tools/fuzzing/...
# Clean build artifacts
clean:
@echo "Cleaning..."
go clean
# Install dependencies
deps:
@echo "Installing dependencies..."
cd ../.. && go mod tidy && go mod download
# Format code
fmt:
@echo "Formatting code..."
go fmt github.com/bytebase/parser/tools/fuzzing/...
# Run linter
lint:
@echo "Running linter..."
golangci-lint run
# Show help
help:
@echo "Available targets:"
@echo " test - Run all tests"
@echo " clean - Clean build artifacts"
@echo " deps - Install/update dependencies"
@echo " fmt - Format all Go code"
@echo " lint - Run golangci-lint"
@echo " help - Show this help message"