Last active
October 12, 2023 02:44
-
-
Save hoangsvit/a14dc326d6b84440ae84ee57ca8b0a5d to your computer and use it in GitHub Desktop.
.vscode/tasks.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
// created by eplus.dev | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "backend", | |
"type": "shell", | |
"command":"composer i; php artisan ser", | |
"group": "build", | |
"options": { | |
"cwd": "${workspaceFolder}/backend" | |
}, | |
"presentation": { | |
"reveal": "always", | |
"panel": "new", | |
"group": "one" | |
}, | |
"runOptions": { | |
"runOn": "folderOpen" | |
} | |
}, | |
{ | |
"label": "backend without composer", | |
"type": "shell", | |
"command":"php artisan ser", | |
"group": "build", | |
"options": { | |
"cwd": "${workspaceFolder}/backend" | |
}, | |
"presentation": { | |
"reveal": "always", | |
"panel": "new", | |
"group": "one" | |
} | |
}, | |
{ | |
"label": "queue", | |
"type": "shell", | |
"command": "php artisan queue:work", | |
"group": "build", | |
"options": { | |
"cwd": "${workspaceFolder}/backend" | |
}, | |
"presentation": { | |
"reveal": "always", | |
"panel": "new", | |
"group": "one" | |
}, | |
"runOptions": { | |
"runOn": "folderOpen" | |
} | |
}, | |
{ | |
"label": "migrate", | |
"type": "shell", | |
"command": "php artisan migrate", | |
"group": "none", | |
"options": { | |
"cwd": "${workspaceFolder}/backend" | |
}, | |
"presentation": { | |
"reveal": "always", | |
"panel": "new", | |
"group": "one" | |
} | |
}, | |
{ | |
"label": "customer", | |
"type": "shell", | |
"command": "npm i; npm run dev:host", | |
"group": "build", | |
"options": { | |
"cwd": "${workspaceFolder}/customer" | |
}, | |
"presentation": { | |
"reveal": "always", | |
"panel": "new", | |
"group": "one" | |
}, | |
"runOptions": { | |
"runOn": "folderOpen" | |
} | |
}, | |
{ | |
"label": "customer w/o install", | |
"type": "shell", | |
"command": "npm run dev:host", | |
"group": "none", | |
"options": { | |
"cwd": "${workspaceFolder}/customer" | |
}, | |
"presentation": { | |
"reveal": "always", | |
"panel": "new", | |
"group": "one" | |
} | |
}, | |
{ | |
"label": "iglocal", | |
"type": "shell", | |
"command": "npm i; npm run dev:host", | |
"group": "build", | |
"options": { | |
"cwd": "${workspaceFolder}/iglocal" | |
}, | |
"presentation": { | |
"reveal": "always", | |
"panel": "new", | |
"group": "one" | |
}, | |
"runOptions": { | |
"runOn": "folderOpen" | |
} | |
}, | |
{ | |
"label": "iglocal w/o install", | |
"type": "shell", | |
"command": "npm run dev:host", | |
"group": "none", | |
"options": { | |
"cwd": "${workspaceFolder}/iglocal" | |
}, | |
"presentation": { | |
"reveal": "always", | |
"panel": "new", | |
"group": "one" | |
} | |
}, | |
{ | |
"label": "devtools", | |
"type": "shell", | |
"command": "node locale_pull.js", | |
"group": "none", | |
"options": { | |
"cwd": "${workspaceFolder}/devtools" | |
}, | |
"presentation": { | |
"reveal": "always", | |
"panel": "new" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First, create tasks.json file on each .vscode root directory of your workspace