Fixes
This commit is contained in:
parent
cda99ff767
commit
81affe09e6
@ -38,7 +38,8 @@ RUN apt update && \
|
||||
make \
|
||||
strace \
|
||||
sudo \
|
||||
vim
|
||||
vim \
|
||||
nano
|
||||
|
||||
|
||||
# Install intl
|
||||
|
||||
@ -3,7 +3,9 @@
|
||||
rsyslogd
|
||||
cron
|
||||
touch /var/log/cron.log
|
||||
touch /var/log/syslog.log
|
||||
chmod -R 0777 /var/log/cron.log
|
||||
chmod -R 0777 /var/log/syslog.log
|
||||
rm /data/www/new/var/cache/*
|
||||
rm /data/www/new/var/log/*
|
||||
chmod -R 0777 /data/www/new/var/cache
|
||||
|
||||
@ -16,7 +16,8 @@ YELLOW:=\033[0;33m
|
||||
NO_COLOR:=\033[0m
|
||||
|
||||
# Tool CLI config
|
||||
PHPUNIT_CMD=php vendor/bin/phpunit
|
||||
PHPUNIT_CMD=php -dxdebug.mode=off vendor/bin/phpunit
|
||||
PHPUNIT_CMD_XDEBUG=php vendor/bin/phpunit
|
||||
PHPUNIT_ARGS=
|
||||
PHPUNIT_FILES=
|
||||
PHPSTAN_CMD=php -d xdebug.mode=off -d memory_limit=-1 vendor/bin/phpstan analyse
|
||||
@ -75,6 +76,10 @@ endef
|
||||
test: ## Run all tests
|
||||
@$(EXECUTE_IN_APPLICATION_CONTAINER) $(PHPUNIT_CMD) $(PHPUNIT_ARGS) $(ARGS)
|
||||
|
||||
.PHONY: test-xdebug
|
||||
test-xdebug: ## Run all tests
|
||||
@$(EXECUTE_IN_APPLICATION_CONTAINER) $(PHPUNIT_CMD_XDEBUG) $(PHPUNIT_ARGS) $(ARGS)
|
||||
|
||||
.PHONY: phplint
|
||||
phplint: ## Run phplint on all files
|
||||
@$(call execute,$(PARALLEL_LINT_CMD),$(PARALLEL_LINT_ARGS),$(PARALLEL_LINT_FILES), $(ARGS))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user