Timothy J. Warren
efbb6d6878
All checks were successful
timw4mail/HummingBirdAnimeClient/pipeline/head This commit looks good
35 lines
771 B
Makefile
35 lines
771 B
Makefile
# Lists the available actions
|
|
default:
|
|
@just --list
|
|
|
|
# Runs rector, showing what changes will be make
|
|
rector-dry-run:
|
|
tools/vendor/bin/rector process --config=tools/rector.php --dry-run src
|
|
|
|
# Runs rector, and updates the files
|
|
rector:
|
|
tools/vendor/bin/rector process --config=tools/rector.php src
|
|
|
|
# Check code formatting
|
|
check-fmt:
|
|
tools/vendor/bin/php-cs-fixer fix --dry-run --verbose
|
|
|
|
# Fix code formatting
|
|
fmt:
|
|
tools/vendor/bin/php-cs-fixer fix --verbose
|
|
|
|
# Run tests
|
|
test:
|
|
composer run-script test
|
|
|
|
# Run tests, update snapshots
|
|
test-update:
|
|
composer run-script test-update
|
|
|
|
# Update the per-file header comments
|
|
update-headers:
|
|
php tools/update_header_comments.php
|
|
|
|
# Run unit tests and generate test-coverage report
|
|
coverage:
|
|
composer run-script coverage
|