refactor: tools to composer.json
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/877/head
parent
fb56eb8ce2
commit
d8c6266e53
|
@ -43,4 +43,4 @@ jobs:
|
|||
run: |
|
||||
cd apps/memories
|
||||
make install-tools
|
||||
tools/vendor/bin/psalm --output-format=github --no-cache --shepherd --stats --threads=4
|
||||
vendor/bin/psalm --no-cache --shepherd --stats --threads=4
|
||||
|
|
|
@ -27,4 +27,3 @@ memories.tar.gz
|
|||
.cache/
|
||||
|
||||
exiftool-bin/
|
||||
tools/
|
||||
|
|
6
Makefile
6
Makefile
|
@ -7,15 +7,13 @@ exiftool:
|
|||
sh scripts/get-exiftool.sh
|
||||
|
||||
install-tools:
|
||||
mkdir -p tools
|
||||
composer require --dev --working-dir=tools friendsofphp/php-cs-fixer vimeo/psalm
|
||||
composer install
|
||||
|
||||
php-lint:
|
||||
tools/vendor/bin/php-cs-fixer fix lib
|
||||
vendor/bin/php-cs-fixer fix lib
|
||||
|
||||
psalm:
|
||||
tools/vendor/bin/psalm
|
||||
vendor/bin/psalm
|
||||
|
||||
npm-init:
|
||||
npm ci
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
"name": "Varun Patil"
|
||||
}
|
||||
],
|
||||
"require": {},
|
||||
"require-dev": {}
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "^3.35",
|
||||
"vimeo/psalm": "^5.15"
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue