Add php-cs-fixer to make
parent
c0f52ed0c6
commit
6b60bebbf0
11
Makefile
11
Makefile
|
@ -1,11 +1,18 @@
|
||||||
all: dev-setup lint build-js-production test
|
all: dev-setup lint build-js-production test
|
||||||
|
|
||||||
# Dev env management
|
# Dev env management
|
||||||
dev-setup: clean clean-dev npm-init get-exiftool
|
dev-setup: clean clean-dev npm-init exiftool php-cs-fixer
|
||||||
|
|
||||||
get-exiftool:
|
exiftool:
|
||||||
sh scripts/get-exiftool.sh
|
sh scripts/get-exiftool.sh
|
||||||
|
|
||||||
|
php-cs-fixer:
|
||||||
|
mkdir --parents tools/php-cs-fixer
|
||||||
|
composer require --working-dir=tools/php-cs-fixer friendsofphp/php-cs-fixer
|
||||||
|
|
||||||
|
php-lint:
|
||||||
|
tools/php-cs-fixer/vendor/bin/php-cs-fixer fix lib
|
||||||
|
|
||||||
npm-init:
|
npm-init:
|
||||||
npm ci
|
npm ci
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue