{ "version": "2.0.0", "tasks": [ { "label": "frontend build", "type": "shell", "command": "cd D:\\dvlyadmin_pro\\dvlyadmin_pro\\frontend;d:;npm run build", "problemMatcher": [ "$tsc" ] }, { "label": "dist copy", "type": "shell", "command": "xcopy 'D:\\dvlyadmin_pro\\dvlyadmin_pro\\frontend\\dist\\*' 'D:\\dvlyadmin_pro\\dvlyadmin_pro\\backend\\frontend' /s /e /y /q ", "problemMatcher": [ "$tsc" ], "dependsOn": ["frontend build"] }, { "label": "Git Commit & Push", "type": "shell", "command": "cd D:\\dvlyadmin_pro\\dvlyadmin_pro; git add . ; git commit -m \\\"$(Get-Date -Format 'yyyy-MM-dd HH:mm:ss')\\\"; git push", "problemMatcher": ["$tsc"], "options": { "cwd": "${workspaceFolder}" }, "dependsOn": ["dist copy"] } ] }