{ "version": "2.0.0", "tasks": [ { "label": "Clean", "type": "shell", "command": "make clean", "isBackground": false, "group": { "kind": "build", "isDefault": false }, "presentation": { "reveal": "never", "panel": "shared" }, "options": { "cwd": "${workspaceFolder}/../", "shell": { "executable": "bash", "args": [ "-c" ] } } }, { "label": "Build", "type": "shell", "command": "make build", "isBackground": false, "group": { "kind": "build", "isDefault": false }, "presentation": { "reveal": "always", "panel": "shared" }, "options": { "cwd": "${workspaceFolder}/../", "shell": { "executable": "bash", "args": [ "-c" ] } } }, { "label": "Run", "type": "shell", "command": "make qemu", "isBackground": false, "dependsOn": [ "Build" ], "group": { "kind": "test", "isDefault": true }, "presentation": { "reveal": "always", "panel": "shared" }, "options": { "cwd": "${workspaceFolder}/../", "shell": { "executable": "bash", "args": [ "-c" ] } } }, { "label": "Build Bootloader", "type": "shell", "command": "make -C ../ build_bootloader", "isBackground": false, "group": { "kind": "build", "isDefault": false }, "presentation": { "reveal": "always", "panel": "shared" }, "options": { "shell": { "executable": "bash", "args": [ "-c" ] } } }, { "label": "Build Kernel", "type": "shell", "command": "make -C ../ build_kernel", "isBackground": false, "dependsOn": [ "Build Bootloader" ], "group": { "kind": "build", "isDefault": false }, "presentation": { "reveal": "always", "panel": "shared" }, "options": { "shell": { "executable": "bash", "args": [ "-c" ] } } }, { "label": "Build Drivers", "type": "shell", "command": "make -C ../ build_drivers", "isBackground": false, "dependsOn": [ "Build Kernel" ], "group": { "kind": "build", "isDefault": false }, "presentation": { "reveal": "always", "panel": "shared" }, "options": { "shell": { "executable": "bash", "args": [ "-c" ] } } }, { "label": "Build Userspace", "type": "shell", "command": "make -C ../ build_userspace", "isBackground": false, "dependsOn": [ "Build Drivers" ], "group": { "kind": "build", "isDefault": false }, "presentation": { "reveal": "always", "panel": "shared" }, "options": { "shell": { "executable": "bash", "args": [ "-c" ] } } }, { "label": "Build Image", "type": "shell", "command": "make -C ../ build_image", "isBackground": false, "dependsOn": [ "Build Userspace" ], "group": { "kind": "build", "isDefault": false }, "presentation": { "reveal": "always", "panel": "shared" }, "options": { "shell": { "executable": "bash", "args": [ "-c" ] } } }, { "label": "QEMU", "type": "shell", "command": "make", "args": [ "-C", "../", "vscode_debug_only" ], "isBackground": true, // "problemMatcher": "$tsc-watch", "problemMatcher": [ { "pattern": [ { "regexp": ".", "file": 1, "location": 2, "message": 3 } ], "background": { "activeOnStart": true, "beginsPattern": ".", "endsPattern": "CPU Reset", } } ], "dependsOn": [ "Build Image" ], "group": { "kind": "test", "isDefault": true }, "presentation": { "reveal": "always", "panel": "shared" }, "options": { "shell": { "executable": "bash", "args": [ "-c" ] } } } ] }