-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (25 loc) · 722 Bytes
/
Makefile
File metadata and controls
34 lines (25 loc) · 722 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
.PHONY: help install test coverage quality clean
# Default target
help: ## Show this help message
@echo 'Usage: make [target]'
@echo ''
@echo 'Available targets:'
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf " %-15s %s\n", $$1, $$2}' $(MAKEFILE_LIST)
install: ## Install dependencies
composer install
update: ## Update dependencies
composer update
test: ## Run tests
composer test
coverage: ## Run tests with coverage report
composer test:coverage
quality: ## Run all quality checks
composer quality
clean: ## Clean up generated files
rm -rf coverage/
rm -rf build/
rm -rf vendor/
ci: ## Run CI checks locally
make test
help-composer: ## Show available composer scripts
composer list