Skip to content

Instantly share code, notes, and snippets.

@Sixeight

Sixeight/tasks.json Secret

Created Jan 12, 2021
Embed
What would you like to do?
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "run RSpec test all",
"type": "shell",
"command": "bin/rspec -fd -ff ${relativeFile}",
"group": "test",
"problemMatcher": [
{
"owner": "ruby",
"fileLocation": ["relative", "${workspaceFolder}"],
"pattern": {
"regexp": "^rspec\\s+(.*):(\\d+)\\s+#\\s+(.*)$",
"file": 1,
"line": 2,
"message": 3,
}
}
]
},
{
"label": "run RSpec test here",
"type": "shell",
"command": "bin/rspec -fd -ff ${relativeFile}:${lineNumber}",
"group": "test",
"problemMatcher": [
{
"owner": "ruby",
"fileLocation": ["relative", "${workspaceFolder}"],
"pattern": {
"regexp": "^rspec\\s+(.*):(\\d+)\\s+#\\s+(.*)$",
"file": 1,
"line": 2,
"message": 3
}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment