mirror of
https://github.com/lxstinthesky/matrix.git
synced 2025-12-16 22:42:46 +00:00
78 lines
2.0 KiB
JSON
78 lines
2.0 KiB
JSON
{
|
|
"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": []
|
|
}
|
|
]
|
|
} |