Skip to content

Commit

Permalink
Update makefile.md
Browse files Browse the repository at this point in the history
Add a `make bash` command to use a bash session so that the up and down arrows use previously used commands.
  • Loading branch information
charlesastwood authored and maxhelias committed Apr 18, 2024
1 parent 4672d26 commit 7f6c142
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/makefile.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7f6c142

Please sign in to comment.