Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.