-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
45 lines (36 loc) · 846 Bytes
/
Makefile
File metadata and controls
45 lines (36 loc) · 846 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
43
44
45
# Makefile for quantds
.PHONY: all build test lint fmt gen-docs help clean
# Default target
all: test build
# Build the project
build:
go build ./...
# Run tests
test:
go test -v ./...
# Format code
fmt:
go fmt ./...
# Run linter (requires golangci-lint)
lint:
golangci-lint run
# Generate documentation (Supported Data Sources table)
gen-docs:
go run cmd/gendoc/main.go
# Clean build artifacts
clean:
go clean
rm -rf dist/
# Show help
help:
@echo "Usage: make [target]"
@echo ""
@echo "Targets:"
@echo " all Test and build"
@echo " build Build the project"
@echo " test Run tests"
@echo " fmt Format code"
@echo " lint Run linter"
@echo " gen-docs Generate supported data sources table in README.md"
@echo " clean Clean build artifacts"
@echo " help Show this help message"