70 lines
1.3 KiB
JSON
70 lines
1.3 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"type": "shell",
|
|
"command": "cargo",
|
|
"args": [
|
|
"build",
|
|
"--manifest-path=./src-tauri/Cargo.toml",
|
|
"--no-default-features"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": [
|
|
"$rustc"
|
|
]
|
|
},
|
|
{
|
|
"label": "Build Release (Linux)",
|
|
"type": "shell",
|
|
"command": "cargo",
|
|
"args": [
|
|
"tauri",
|
|
"build"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/src-tauri"
|
|
},
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build Release (Windows)",
|
|
"type": "shell",
|
|
"command": "cargo",
|
|
"args": [
|
|
"tauri",
|
|
"build",
|
|
"--target",
|
|
"x86_64-pc-windows-msvc"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/src-tauri"
|
|
},
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "tauri dev",
|
|
"type": "shell",
|
|
"command": "cargo",
|
|
"args": [
|
|
"tauri",
|
|
"dev"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/src-tauri",
|
|
"env": {
|
|
"WEBKIT_DISABLE_COMPOSITING_MODE": "1"
|
|
}
|
|
},
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|