-
-
Save Sixeight/84d9bc8ada8014d1087c34961b5d6fc1 to your computer and use it in GitHub Desktop.
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 | |
"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