Makefile 507 B

1234567891011
  1. build:
  2. docker build --tag php:morphos tests/
  3. test:
  4. docker run --rm --interactive --tty --volume $(PWD):/app -w /app -e XDEBUG_MODE=coverage --add-host=host.docker.internal:host-gateway php:morphos ./vendor/bin/phpunit --coverage-text
  5. run:
  6. docker run --rm --interactive --tty --volume $(PWD):/app -w /app --add-host=host.docker.internal:host-gateway php:morphos bash
  7. php:
  8. docker run --rm --interactive --tty --volume $(PWD):/app -w /app --add-host=host.docker.internal:host-gateway php:morphos php -a