collection-crud/justfile

20 lines
465 B
Makefile
Raw Normal View History

2022-03-03 10:19:01 -05:00
# Lists the available actions
default:
@just --list
# Runs rector, showing what changes will be make
rector-dry-run:
2022-03-03 10:54:50 -05:00
tools/vendor/bin/rector process --config=tools/rector.php --dry-run src
2022-03-03 10:19:01 -05:00
# Runs rector, and updates the files
rector:
2022-03-03 10:54:50 -05:00
tools/vendor/bin/rector process --config=tools/rector.php src
2022-03-03 10:19:01 -05:00
# Check code formatting
check-fmt:
2022-03-03 10:54:50 -05:00
tools/vendor/bin/php-cs-fixer fix --dry-run --verbose
2022-03-03 10:19:01 -05:00
# Fix code formatting
fmt:
2022-03-03 10:54:50 -05:00
tools/vendor/bin/php-cs-fixer fix --verbose