1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-prestashop

Клонировать/Скачать
Makefile 1.7 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Jonathan Lelievre Отправлено 23.05.2024 19:10 cf99a16
help: ## Display this help menu
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
install: composer assets ## Install PHP dependencies and build the static assets
composer: ## Install PHP dependencies
COMPOSER_PROCESS_TIMEOUT=600 composer install --no-interaction
./bin/console cache:clear --no-warmup
assets: ## Rebuilds all the static assets, running npm install-clean as needed
./tools/assets/build.sh
wait-assets:
./tools/assets/wait-build.sh
front-core: ## Building core theme assets
./tools/assets/build.sh front-core
front-classic: ## Building classic theme assets
./tools/assets/build.sh front-classic
admin-default: ## Building admin default theme assets
./tools/assets/build.sh admin-default
admin-new-theme: ## Building admin new theme assets
./tools/assets/build.sh admin-new-theme
admin: admin-default admin-new-theme ## Building admin assets
front: front-core front-classic ## Building front assets
cs-fixer: ## Run php-cs-fixer
./vendor/bin/php-cs-fixer fix
phpstan: ## Run phpstan analysis
./vendor/bin/phpstan analyse -c phpstan.neon.dist
scss-fixer: ## Run scss-fix
cd admin-dev/themes/new-theme && npm run scss-fix
cd admin-dev/themes/default && npm run scss-fix
cd themes/classic/_dev && npm run scss-fix
es-linter: ## Run lint-fix
cd admin-dev/themes/new-theme && npm run lint-fix
cd admin-dev/themes/default && npm run lint-fix
cd themes/classic/_dev && npm run lint-fix
cd themes && npm run lint-fix
.PHONY: help install composer assets front-core front-classic admin-default admin-new-theme admin front cs-fixer phpstan scss-fixer es-linter
.DEFAULT_GOAL := install

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-prestashop.git
git@api.gitlife.ru:oschina-mirror/mirrors-prestashop.git
oschina-mirror
mirrors-prestashop
mirrors-prestashop
develop