Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added runners for vscode #479

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ $RECYCLE.BIN/

# Editor
.idea
.vscode
.kateproject
.kateproject.local
.fleet
Expand Down
50 changes: 50 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Dev Build",
"type": "shell",
// see tasks.json for definition
"preLaunchTask": "dev build", // The name of the task defined above
"request": "attach"
},
{
"name": "Run Dev",
"type": "shell",
// see tasks.json for definition
"preLaunchTask": "dev", // The name of the task defined above
"request": "attach"
},
{
"name": "Run Dev with Metrics",
"type": "shell",
// see tasks.json for definition
"preLaunchTask": "dev-metrics", // The name of the task defined above
"request": "attach"
},
{
"name": "Deploy Production",
"type": "shell",
// see tasks.json for definition
"preLaunchTask": "deploy-prod", // The name of the task defined above
"request": "attach"
},
{
"name": "Run Tests",
"type": "shell",
// see tasks.json for definition
"preLaunchTask": "tests", // The name of the task defined above
"request": "attach"
},
{
"name": "Run Help",
"type": "shell",
// see tasks.json for definition
"preLaunchTask": "help", // The name of the task defined above
"request": "attach"
},
]
}
84 changes: 84 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"version": "2.0.0",
"command": "bash",
"options": {
"cwd": "${workspaceRoot}"
},
"args": [
"-c"
],
"tasks": [
{
"label": "dev build",
"type": "shell",
"command": "bash",
"args": [
"-c",
"make dev-build"
],
"problemMatcher": [],
"group": {
"_id": "build",
"isDefault": false
}
},
{
"label": "dev",
"type": "shell",
"command": "bash",
"args": [
"-c",
"make dev"
],
"problemMatcher": [],
"group": {
"_id": "test",
"isDefault": false
}
},
{
"label": "dev-metrics",
"type": "shell",
"command": "bash",
"args": [
"-c",
"make dev-metrics"
],
"problemMatcher": []
},
{
"label": "deploy-prod",
"type": "shell",
"command": "bash",
"args": [
"-c",
"make deploy-prod"
],
"problemMatcher": [],
"group": {
"_id": "test",
"isDefault": false
}
},
{
"label": "tests",
"type": "shell",
"command": "bash",
"args": [
"-c",
"make dev-metrics"
],
"problemMatcher": []
},
{
"label": "help",
"type": "shell",
"command": "bash",
"args": [
"-c",
"make help"
],
"problemMatcher": []
}
]
}