Skip to content

Instantly share code, notes, and snippets.

@tdegrunt
Created February 15, 2017 12:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tdegrunt/e61d4f81e6e98464c677fe59ce9d32d0 to your computer and use it in GitHub Desktop.
Save tdegrunt/e61d4f81e6e98464c677fe59ce9d32d0 to your computer and use it in GitHub Desktop.
Visual Studio Code - Ruby / Rails tasks
{
"version": "0.1.0",
"tasks": [
{
"isShellCommand": true,
"taskName": "bundle install",
"command": "bundle",
"args": ["install"],
"suppressTaskName": true
},
{
"isShellCommand": true,
"command": "rake",
"taskName": "rake routes",
"args": ["routes"],
"suppressTaskName": true
},
{
"isShellCommand": true,
"command": "rake",
"taskName": "rake db:migrate",
"args": ["db:migrate"],
"suppressTaskName": true
},
{
"isShellCommand": true,
"command": "rake",
"taskName": "rake db:rollback",
"args": ["db:rollback"],
"suppressTaskName": true
},
{
"isShellCommand": true,
"command": "rake",
"taskName": "rake g migration",
"args": ["g migrate"],
"suppressTaskName": true
},
{
"isShellCommand": true,
"command": "ruby",
"taskName": "run test",
"args": ["-Itest", "${relativeFile}"]
},
{
"isShellCommand": true,
"command": "ruby",
"taskName": "ruby version",
"args": ["-v"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment