Skip to content

Instantly share code, notes, and snippets.

@connorshea
Created April 20, 2019 01:18
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 connorshea/9c4a1bede810497957e3fec50949bd63 to your computer and use it in GitHub Desktop.
Save connorshea/9c4a1bede810497957e3fec50949bd63 to your computer and use it in GitHub Desktop.
VS Code `tasks.json` file for DragonRuby Game Toolkit, drop it in `.vscode/tasks.json` in the dragonruby folder and then open the Command Palette (Ctrl/Cmd + Shift + P), choose "Run task", and then choose your task :) Should work on macOS and Linux, not sure about Windows.
{
// tasks.json for dragonruby samples
"version": "2.0.0",
"tasks": [
{
"label": "doomwipe",
"type": "shell",
"command": "./dragonruby samples/doomwipe/",
"problemMatcher": []
},
{
"label": "golf_with_musical_notes",
"type": "shell",
"command": "./dragonruby samples/golf_with_musical_notes/",
"problemMatcher": []
},
{
"label": "pong",
"type": "shell",
"command": "./dragonruby samples/pong/",
"problemMatcher": []
},
{
"label": "subspace",
"type": "shell",
"command": "./dragonruby samples/subspace/",
"problemMatcher": []
},
{
"label": "tech_demo",
"type": "shell",
"command": "./dragonruby samples/tech_demo/",
"problemMatcher": []
},
{
"label": "tic_tac_toe",
"type": "shell",
"command": "./dragonruby samples/tic_tac_toe/",
"problemMatcher": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment