mirror of https://github.com/realodix/urlhub.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
2.8 KiB
92 lines
2.8 KiB
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "[Tests] PHPUnit",
|
|
"type": "shell",
|
|
"command": "./vendor/bin/phpunit",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "[Tests] PHPUnit (coverage-html)",
|
|
"type": "shell",
|
|
"command": "./vendor/bin/phpunit --coverage-html .tmp/logs/coverage-html",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "[CS] PHP CS Fixer",
|
|
"type": "shell",
|
|
"command": "./vendor/bin/php-cs-fixer fix -v",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "[SA] PHPStan",
|
|
"type": "shell",
|
|
"command": "./vendor/bin/phpstan analyse",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "[SA] PHPStan (baseline)",
|
|
"type": "shell",
|
|
"command": "./vendor/bin/phpstan analyse --generate-baseline",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "[SA] Psalm",
|
|
"type": "shell",
|
|
"command": "./vendor/bin/psalm",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "[SA] Psalm (baseline)",
|
|
"type": "shell",
|
|
"command": "./vendor/bin/psalm --set-baseline=psalm-baseline.xml",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "[GIT] Commit",
|
|
"type": "shell",
|
|
"command": "git add -A && git commit -m \"U-$(Get-Date -UFormat +'%y%m%d%H%M%S')\"",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "[GIT] Commit & Push",
|
|
"type": "shell",
|
|
"command": "git add -A && git commit -m \"U-$(Get-Date -UFormat +'%y%m%d%H%M%S')\" && git push",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "[Composer] dump-autoload",
|
|
"type": "shell",
|
|
"command": "composer dump-autoload",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "[Artisan] Migrate (seed)",
|
|
"type": "shell",
|
|
"command": "php artisan migrate:fresh --seed",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "[Artisan] Icon: Cache-set",
|
|
"type": "shell",
|
|
"command": "php artisan icons:cache",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "[Artisan] Icon: Cache-clear",
|
|
"type": "shell",
|
|
"command": "php artisan icons:clear",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "[NPM] Dev",
|
|
"type": "shell",
|
|
"command": "yarn dev",
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|