build-configs: update

This commit is contained in:
Oliver Davies 2023-09-24 23:12:43 +01:00
parent 7fef7c26ef
commit 24a12f56a6

View file

@ -1,6 +1,5 @@
# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
default:
@just --list
@ -21,18 +20,12 @@ alias phpunit := test
test *args:
just _exec php phpunit --colors=always {{ args }}
test-watch *args:
nodemon --ext "*" --watch "." --exec "just test || exit 1" --ignore */sites/simpletest
drush *args:
just _exec php drush {{ args }}
install *args:
just _exec php drush site:install -y {{ args }}
# Enable or disable Git hooks
git-hooks command:
#!/usr/bin/env bash
@ -55,6 +48,7 @@ git-hooks command:
test-commit:
just _run php phpcs
just _run php phpstan analyze --no-progress --memory-limit=512M
just test --testdox --testsuite unit
just test --testdox --testsuite kernel