You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

38 lines
548 B

COMPOSER ?= composer
PHP ?= php7.4
MAGE ?= mage
SSH ?= ssh
WEBPACK ?= webpack
YARN ?= yarn
SCHEMASPY ?= schemaspy
all: dep asset clean
.ONESHELL:
dep:
$(COMPOSER) update --ignore-platform-reqs
$(COMPOSER) install --ignore-platform-reqs
$(YARN)
asset-watch:
$(WEBPACK) -w
asset:
$(YARN)
$(WEBPACK)
clean:
rm -fr var/cache/dev/*
rm -fr var/cache/prod/*
browse-dev:
x-www-browser https://local.tinternet
deploy-prod:
$(MAGE) deploy prod
deploy-preprod:
$(MAGE) deploy preprod
doctrine-migration:
PHP=$(PHP) ./bin/doctrine-migrate