File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11default : help
22
3- run_docker =docker run -v $(pwd ) :/app -w /app --rm -it laravel-db-connstring-parser
3+ run_docker =docker run -v $(shell pwd) :/app -w /app --rm -it laravel-db-connstring-parser
44
55help : # # This help message
66 @fgrep -h " ##" $(MAKEFILE_LIST ) | fgrep -v fgrep | sed -e ' s/\\$$//' -e ' s/:.*#/: #/' | column -t -s ' ##'
@@ -10,22 +10,22 @@ build-docker-image:
1010
1111install : # # Install dependencies with Composer
1212 @$(MAKE ) build-docker-image
13- @$(run_docker ) sleep 1 && composer install
13+ @$(run_docker ) composer install
1414
1515update : # # Update dependencies with Composer
16- @$(run_docker ) sleep 1 && composer update
16+ @$(run_docker ) composer update
1717
1818sh : # # Open a shell in the container
19- @$(run_docker ) sleep 1 && /bin/sh
19+ @$(run_docker ) /bin/sh
2020
2121check : # # Run PHP Insights
22- @$(run_docker ) sleep 1 && ./vendor/bin/phpinsights --config-path=insights.php --no-interaction --min-quality=100 --min-architecture=100 --min-style=100
22+ @$(run_docker ) ./vendor/bin/phpinsights --config-path=insights.php --no-interaction --min-quality=100 --min-architecture=100 --min-style=100
2323
2424check-native : # # Run PHP Insights without Docker
2525 ./vendor/bin/phpinsights --config-path=insights.php --no-interaction --min-quality=100 --min-architecture=100 --min-style=100
2626
2727test : # # Run tests
28- @$(run_docker ) sleep 1 && ./vendor/bin/phpunit -c phpunit.xml
28+ @$(run_docker ) ./vendor/bin/phpunit -c phpunit.xml
2929
3030test-native : # # Run tests without Docker
3131 ./vendor/bin/phpunit -c phpunit.xml
You can’t perform that action at this time.
0 commit comments