Skip to content

Instantly share code, notes, and snippets.

@jy95
Created April 5, 2018 11:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jy95/3ede8a542f044beb03754ef970c91dfd to your computer and use it in GitHub Desktop.
Save jy95/3ede8a542f044beb03754ef970c91dfd to your computer and use it in GitHub Desktop.
Dans .vscode/tasks.json
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"tasks": [
{
"taskName": "build",
"command": "ozc",
"windows": {
"command": "C:\\Program Files\\Mozart\\bin\\ozc.exe"
},
"isBuildCommand": true,
"isShellCommand": true,
"isBackground": true,
"args": [
"-c",
"${file}"
],
"showOutput": "silent"
},
{
"taskName": "run",
"command": "ozengine",
"windows": {
"command": "C:\\Program Files\\Mozart\\bin\\ozengine.exe"
},
"isShellCommand": true,
"args": [
"${fileBasenameNoExtension}.ozf"
],
"showOutput": "always",
"isTestCommand": true,
"isBackground": false
},
{
"taskName": "clean",
"command": "rm",
"isShellCommand": true,
"args": [
"${fileBasenameNoExtension}.ozf"
],
"showOutput": "silent"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment