Updated Makefile

This commit is contained in:
Chris Kankiewicz
2020-01-07 22:34:41 -07:00
parent d2e7a4eb20
commit 48a5b2a85d

View File

@@ -1,11 +1,18 @@
build:
build: # Install application dependencies
@composer install && npm install
update upgrade:
update upgrade: # Update application dependencies
@composer update && npm update
clear-cache:
test: #: Run coding standards/static analysis checks and tests
@php-cs-fixer fix --diff --dry-run && psalm --show-info=false && phpunit
clear-cache: # Clear the application cache
@rm app/cache/* -rfv
test:
@php-cs-fixer fix --diff --dry-run && psalm --show-info=false && phpunit
tunnel: # Expose the application via ngrok
@ngrok http -host-header=rewrite http://directorylister.local:80
help: # Show this help
@grep --perl-regexp '^([\w\s-]+):\s+#+\s+(.*)$$' $(MAKEFILE_LIST) \
| awk 'BEGIN {FS = ": # "}; { printf "\033[36m%-16s\033[0m %s\n", $$1, $$2 }'