mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-09-02 18:33:04 +02:00
Updated Makefile
This commit is contained in:
15
Makefile
15
Makefile
@@ -1,18 +1,19 @@
|
||||
build: # Install application dependencies
|
||||
build: install compile # Install application dependencies and build assets
|
||||
|
||||
install: # Install application dependencies
|
||||
@composer install && npm install
|
||||
|
||||
compile: # Compile application (CSS and JavaScript) assets
|
||||
@npm run dev
|
||||
|
||||
update upgrade: # Update application dependencies
|
||||
@composer update && npm update
|
||||
|
||||
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
|
||||
|
||||
tunnel: # Expose the application via ngrok
|
||||
@ngrok http -host-header=rewrite http://directory-lister.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 }'
|
||||
clear-cache: # Clear the application cache
|
||||
@rm app/cache/* -rfv
|
||||
|
Reference in New Issue
Block a user