Newer
Older
TelosDB / .vscode / tasks.json
{
	"version": "2.0.0",
	"tasks": [
		{
			"label": "tauri:dev",
			"type": "shell",
			"command": "bun tauri dev",
			"isBackground": true,
			"problemMatcher": {
				"owner": "rust",
				"fileLocation": [
					"relative",
					"${workspaceFolder}/src-tauri"
				],
				"pattern": [
					{
						"regexp": "^(warning|error): (.*)$",
						"kind": 1,
						"message": 2
					},
					{
						"regexp": "^[ ]*--> (.*):(\\d+):(\\d+)$",
						"file": 1,
						"line": 2,
						"column": 3
					}
				],
				"background": {
					"activeOnStart": true,
					"beginsPattern": "^\\s*(Compiling|Building)",
					"endsPattern": "^\\s*(Finished|Running)"
				}
			}
		},
		{
			"label": "tauri:build",
			"type": "shell",
			"command": "bun tauri build"
		}
	]
}