.vscode/tasks.json
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"command": "${workspaceRoot}/bin/rake",
"tasks": [
{
"label": "build",
"type": "shell",
"command": "${workspaceRoot}/bin/rake",
"args": [
"build"
],
"problemMatcher": [],
"group": {
"_id": "build",
"isDefault": false
}
},
{
"label": "release",
"type": "shell",
"command": "${workspaceRoot}/bin/rake",
"args": [
"release",
"--trace"
],
"problemMatcher": []
},
{
"label": "spec",
"type": "shell",
"command": "${workspaceRoot}/bin/rake",
"args": [
"spec"
],
"problemMatcher": {
"owner": "ruby",
"fileLocation": [
"relative",
"${workspaceRoot}"
],
"pattern": {
"regexp": "^rspec\\s+([\\./\\w]+):(\\d+)\\s+#\\s+(.+)$",
"file": 1,
"line": 2,
"message": 3
}
},
"group": {
"_id": "test",
"isDefault": false
}
},
{
"label": "Nearest Spec",
"type": "shell",
"command": "${workspaceRoot}/bin/rspec",
"args": [
"${file}:${lineNumber}"
],
"problemMatcher": []
},
{
"label": "Current Spec",
"type": "shell",
"command": "${workspaceRoot}/bin/rspec",
"args": [
"${file}"
],
"problemMatcher": {
"owner": "ruby",
"fileLocation": [
"relative",
"${workspaceRoot}"
],
"pattern": {
"regexp": "^rspec\\s+([\\./\\w]+):(\\d+)\\s+#\\s+(.+)$",
"file": 1,
"line": 2,
"message": 3
}
}
},
{
"label": "bunlde install",
"type": "shell",
"command": "bundle",
"args": [
"install"
],
"problemMatcher": []
}
]
}