Skip to content

Commit

Permalink
chore(app): adding scripts that downloads psalm automatically (this i…
Browse files Browse the repository at this point in the history
…s necessary because psalm still uses amphp v2)
  • Loading branch information
razshare committed Dec 9, 2023
1 parent cbb7c4b commit 054b419
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,14 @@
"dev:watch": "php -dxdebug.mode=debug -dxdebug.start_with_request=yes ./bin/start --entry='./src/main.php' --libraries='./src/lib/' --resources='./resources/' --info --watch",
"dev:build": "php -dxdebug.mode=off -dxdebug.start_with_request=no -dphar.readonly=0 ./build.phar --init-config",
"download:build": "[ ! -f build.phar ] && wget https://github.com/tncrazvan/catpaw-build/releases/latest/download/build.phar || echo ''",
"download:psalm": "[ ! -f psalm.phar ] && wget wget https://github.com/vimeo/psalm/releases/latest/download/psalm.phar || echo ''",
"post-autoload-dump": [
"@download:build"
"@download:build",
"@download:psalm"
],
"post-create-project-cmd": [
"@download:build"
"@download:build",
"@download:psalm"
]
},
"autoload": {
Expand Down

0 comments on commit 054b419

Please sign in to comment.