33 lines
1.0 KiB
JSON
33 lines
1.0 KiB
JSON
{
|
|
"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 '$(date \\'+%Y-%m-%d %H:%M:%S\\')]'; git push",
|
|
"problemMatcher": ["$tsc"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"dependsOn": ["dist copy"]
|
|
}
|
|
]
|
|
|
|
} |