Broke apart some make contexts

This commit is contained in:
Chris Kankiewicz
2021-04-22 22:49:50 -07:00
parent 5c27e224da
commit 4f73a5244d

View File

@@ -13,12 +13,23 @@ prod production: # Build application for production
update upgrade: # Update application dependencies
@$(RUN) composer update && npm update && npm install && npm audit fix
analyze: # Run coding standards and static analysis checks
@$(RUN) app/vendor/bin/php-cs-fixer fix --diff --dry-run && app/vendor/bin/psalm
@$(RUN) npx eslint app/resources/js/**/*.{js,vue}
php-cs-fixer: # Check PHP coding standards with PHP Coding Standards Fixer
@$(RUN) app/vendor/bin/php-cs-fixer fix --diff --dry-run
test: analyze # Run coding standards/static analysis checks and tests
@$(RUN) app/vendor/bin/phpunit --coverage-text
eslint: # Check JavaScript coding standards with ESLint
@$(RUN) npm run cs
cs coding-standards: php-cs-fixer eslint # Check coding standards
static-analysis: # Run static analysis checks
@$(RUN) app/vendor/bin/psalm
analyze: coding-standards static-analysis # Run coding standards and static analysis checks
test: # Run tests
@$(RUN) app/vendor/bin/phpunit
suite: analyze test # Run coding standards and static analysis checks and tests
coverage: # Generate an HTML coverage report
@docker-compose run --rm -e XDEBUG_MODE=coverage app app/vendor/bin/phpunit --coverage-html .coverage