Update makefile.md
Add a `make bash` command to use a bash session so that the up and down arrows use previously used commands.
This commit is contained in:
parent
4672d26190
commit
7f6c142e9a
@ -70,6 +70,9 @@ logs: ## Show live logs
|
|||||||
sh: ## Connect to the FrankenPHP container
|
sh: ## Connect to the FrankenPHP container
|
||||||
@$(PHP_CONT) sh
|
@$(PHP_CONT) sh
|
||||||
|
|
||||||
|
bash: ## Connect to the FrankenPHP container via bash so up and down arrows go to previous commands
|
||||||
|
@$(PHP_CONT) bash
|
||||||
|
|
||||||
test: ## Start tests with phpunit, pass the parameter "c=" to add options to phpunit, example: make test c="--group e2e --stop-on-failure"
|
test: ## Start tests with phpunit, pass the parameter "c=" to add options to phpunit, example: make test c="--group e2e --stop-on-failure"
|
||||||
@$(eval c ?=)
|
@$(eval c ?=)
|
||||||
@$(DOCKER_COMP) exec -e APP_ENV=test php bin/phpunit $(c)
|
@$(DOCKER_COMP) exec -e APP_ENV=test php bin/phpunit $(c)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user