forked from PrestaShop/PrestaShop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (29 loc) · 863 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
install: composer assets
composer:
composer install
./bin/console cache:clear --no-warmup
assets:
./tools/assets/build.sh
front-core:
./tools/assets/build.sh front-core
front-classic:
./tools/assets/build.sh front-classic
admin-default:
./tools/assets/build.sh admin-default
admin-new-theme:
./tools/assets/build.sh admin-new-theme
admin: admin-default admin-new-theme
front: front-core front-classic
cs-fixer:
./vendor/bin/php-cs-fixer fix
phpstan:
./vendor/bin/phpstan analyse -c phpstan.neon.dist
scss-fixer:
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:
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