HummingBirdAnimeClient/justfile

35 lines
790 B
Makefile
Raw Normal View History

# Lists the available actions
default:
@just --list
# Runs rector, showing what changes will be make
rector-dry-run:
2023-05-09 12:46:52 -04:00
tools/vendor/bin/rector process --config=tools/rector.php --dry-run src tests
2023-05-09 12:46:52 -04:00
# Runs rector, and updates the source files
rector:
2023-05-09 12:46:52 -04:00
tools/vendor/bin/rector process --config=tools/rector.php src tests
# 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
2022-03-04 15:50:35 -05:00
# Update the per-file header comments
update-headers:
php tools/update_header_comments.php
2022-03-04 15:50:35 -05:00
# Run unit tests and generate test-coverage report
coverage:
composer run-script coverage