nineskeletor/Makefile
afornerot be78875030
Some checks failed
Cadoles/nineskeletor/pipeline/head Build started...
Cadoles/nineskeletor/pipeline/pr-master There was a failure building this commit
fixevalidator
2023-01-05 20:07:17 +01:00

18 lines
498 B
Makefile
Executable File

SHELL := /bin/bash
export PATH := $(HOME)/.symfony/bin:$(PATH)
deps:
wget https://get.symfony.com/cli/installer -O - | bash
symfony composer install
symfony composer install --working-dir=tools/php-cs-fixer
symfony composer install --working-dir=tools/phpstan
npm ci
phpstan:
symfony php tools/phpstan/vendor/bin/phpstan analyze ./src -l 1
php-cs-fixer:
tools/php-cs-fixer/symfony-php-cs-fixer.sh fix --verbose --show-progress=dots
install-git-hooks:
git config core.hooksPath .githooks