75 lines
2.0 KiB
JSON
75 lines
2.0 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Python: Run wallpaper changer",
|
|
"type": "process",
|
|
"command": "${workspaceFolder}/python/.venv/bin/python",
|
|
"args": [
|
|
"main.py"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/python"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Python: Run wallpaper_changer tests",
|
|
"type": "process",
|
|
"command": "${workspaceFolder}/python/.venv/bin/python",
|
|
"args": [
|
|
"tests/run_tests.py",
|
|
"all"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/python"
|
|
},
|
|
"group": {
|
|
"kind": "test",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Kotlin: Build Android app",
|
|
"type": "process",
|
|
"command": "${workspaceFolder}/kotlin/gradlew",
|
|
"args": [
|
|
"assembleDebug"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/kotlin"
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": false
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build wallpaperchanger binary",
|
|
"type": "process",
|
|
"command": "${workspaceFolder}/python/.venv/bin/python",
|
|
"args": [
|
|
"-m",
|
|
"PyInstaller",
|
|
"--clean",
|
|
"--onefile",
|
|
"--paths",
|
|
"src",
|
|
"--name",
|
|
"wallpaper_changer",
|
|
"main.py"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/python"
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|