From 1c26fad99a37ec4f36cc7e10af0f0267545c8fec Mon Sep 17 00:00:00 2001 From: Charles Astwood Date: Tue, 16 Apr 2024 15:24:03 +0100 Subject: [PATCH] Update makefile.md Add a `make bash` command to use a bash session so that the up and down arrows use previously used commands. --- docs/makefile.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/makefile.md b/docs/makefile.md index 90f19a5d..80c4d20a 100644 --- a/docs/makefile.md +++ b/docs/makefile.md @@ -70,6 +70,9 @@ logs: ## Show live logs sh: ## Connect to the FrankenPHP container @$(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" @$(eval c ?=) @$(DOCKER_COMP) exec -e APP_ENV=test php bin/phpunit $(c)