2021-02-09 17:05:00 +01:00
|
|
|
##
|
|
|
|
# CACHE
|
|
|
|
|
|
|
|
## Clear symfony cache
|
|
|
|
.PHONY: cache-clear
|
2021-05-30 23:45:30 +02:00
|
|
|
cache-clear: cache-clear-$(SYMFONY_ENV)
|
2021-02-09 17:05:00 +01:00
|
|
|
|
|
|
|
.PHONY: cache-clear-%
|
|
|
|
cache-clear-%: bootstrap ## Clear symfony cache
|
|
|
|
$(call docker-compose-exec,$(DOCKER_SERVICE),app/console cache:clear --env=$*)
|
|
|
|
|
|
|
|
.PHONY: cache-warmup
|
|
|
|
cache-warmup: cache-warmup-$(SYMFONY_ENV)
|
|
|
|
|
|
|
|
.PHONY: cache-warmup-%
|
|
|
|
cache-warmup-%: bootstrap
|
|
|
|
$(call docker-compose-exec,$(DOCKER_SERVICE),app/console cache:warmup --env=$*)
|