From 39033efd30dedf5e38d1a43478719d1715345745 Mon Sep 17 00:00:00 2001 From: Oliver Davies <oliver@oliverdavies.uk> Date: Wed, 12 Apr 2023 22:22:51 +0100 Subject: [PATCH] build: update configuration files --- justfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/justfile b/justfile index b675064..3e25b87 100644 --- a/justfile +++ b/justfile @@ -6,6 +6,11 @@ default: composer *args: just _exec php composer {{ args }} +alias phpunit := test + +test *args: + just _run phpunit {{ args }} + drush *args: just _exec php drush {{ args }} @@ -17,3 +22,6 @@ install *args: _exec +args: docker compose exec {{ args }} + +_run command *args: + docker compose run --rm --no-deps --entrypoint {{ command }} --tty php {{ args }}