Create tasks.json
This commit is contained in:
@@ -0,0 +1,37 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"label": "Run Emulator",
|
||||||
|
"command": "cargo run --bin emulator",
|
||||||
|
"use_new_terminal": true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Run Compiler",
|
||||||
|
"command": "cargo run --bin compiler",
|
||||||
|
"use_new_terminal": true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Run Assembler",
|
||||||
|
"command": "cargo run --bin assembler",
|
||||||
|
"use_new_terminal": true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Run Build System (dsx-build)",
|
||||||
|
"command": "cargo run --bin dsx-build",
|
||||||
|
"use_new_terminal": true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Build All (Release)",
|
||||||
|
"command": "cargo build --release",
|
||||||
|
"use_new_terminal": false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Run Tests",
|
||||||
|
"command": "cargo test",
|
||||||
|
"use_new_terminal": true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Profile Emulator with perf",
|
||||||
|
"command": "cargo build --profile profiling; perf record -g -F 999 target/profiling/emulator; perf script -F +pid | save test.perf",
|
||||||
|
"use_new_terminal": true,
|
||||||
|
},
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user