38 lines
1.5 KiB
JSON
38 lines
1.5 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": ["build", "${workspaceFolder}/STCompiler.sln"],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": ["$msCompile"]
|
|
},
|
|
{
|
|
"label": "run:compiler",
|
|
"type": "process",
|
|
"command": "dotnet",
|
|
"args": ["run", "--project", "${workspaceFolder}/STCompiler.Compiler/STCompiler.Compiler.csproj", "--", "${workspaceFolder}/STCompiler.Compiler/input.st", "${workspaceFolder}/STCompiler.Compiler/output.bin"],
|
|
"presentation": { "reveal": "always", "panel": "shared" }
|
|
},
|
|
{
|
|
"label": "run:disassembler",
|
|
"type": "process",
|
|
"command": "dotnet",
|
|
"args": ["run", "--project", "${workspaceFolder}/STCompiler.Disassembler/STCompiler.Disassembler.csproj", "--", "${workspaceFolder}/STCompiler.Compiler/output.bin"],
|
|
"presentation": { "reveal": "always", "panel": "shared" }
|
|
},
|
|
{
|
|
"label": "run:simulator",
|
|
"type": "process",
|
|
"command": "dotnet",
|
|
"args": ["run", "--project", "${workspaceFolder}/STCompiler.Simulator/STCompiler.Simulator.csproj", "--", "${workspaceFolder}/STCompiler.Compiler/output.bin"],
|
|
"presentation": { "reveal": "always", "panel": "shared" }
|
|
}
|
|
]
|
|
}
|