Created
January 6, 2017 23:26
-
-
Save stevensona/522270beec0cfc6eab9a4b5316a62cf1 to your computer and use it in GitHub Desktop.
Run RSpec tests in Vagrant from Visual Studio Code Host
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": "0.1.0", | |
"command": "cmd", | |
"isShellCommand": true, | |
"tasks": [ | |
{ | |
"isBuildCommand": true, | |
"taskName": "run tests", | |
"args": ["/C", | |
"ssh", "[email protected]", | |
"-p", "2222", | |
"-i", ".vagrant\\machines\\default\\virtualbox\\private_key", | |
"\"cd /vagrant && /home/vagrant/.rbenv/shims/rspec -f d --color\""] | |
} | |
] | |
, | |
"showOutput": "always" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment