mirror of
https://github.com/lxstinthesky/matrix.git
synced 2025-12-17 23:12:48 +00:00
added a handfull of tasks for vscode
This commit is contained in:
78
.vscode/tasks.json
vendored
Normal file
78
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "Nix Flake Check",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "nix",
|
||||||
|
"args": [
|
||||||
|
"flake",
|
||||||
|
"check"
|
||||||
|
],
|
||||||
|
"group": {
|
||||||
|
"kind": "test",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"presentation": {
|
||||||
|
"echo": true,
|
||||||
|
"reveal": "always",
|
||||||
|
"focus": false,
|
||||||
|
"panel": "shared"
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Build VM",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "nixos-rebuild",
|
||||||
|
"args": [
|
||||||
|
"build-vm",
|
||||||
|
"--flake",
|
||||||
|
".#matrix"
|
||||||
|
],
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"presentation": {
|
||||||
|
"echo": true,
|
||||||
|
"reveal": "always",
|
||||||
|
"focus": false,
|
||||||
|
"panel": "shared"
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Run VM",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "./result/bin/run-matrix-vm",
|
||||||
|
"group": "test",
|
||||||
|
"dependsOn": "Build VM",
|
||||||
|
"presentation": {
|
||||||
|
"echo": true,
|
||||||
|
"reveal": "always",
|
||||||
|
"focus": false,
|
||||||
|
"panel": "shared"
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Clean VM",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "rm",
|
||||||
|
"args": [
|
||||||
|
"-f",
|
||||||
|
"./matrix.qcow2"
|
||||||
|
],
|
||||||
|
"group": "test",
|
||||||
|
"dependsOn": "Build VM",
|
||||||
|
"presentation": {
|
||||||
|
"echo": true,
|
||||||
|
"reveal": "always",
|
||||||
|
"focus": false,
|
||||||
|
"panel": "shared"
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user