45 lines
1.5 KiB
JSON
45 lines
1.5 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558 for help with task definitions
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "PUBLISH: New version to Docker Hub (requires working docker)",
|
|
"type": "shell",
|
|
"command": "./deploy.sh",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Install addon libraries",
|
|
"type": "process",
|
|
"command": "${config:python.pythonPath}",
|
|
"args": ["-m", "pip", "install", "-e", "hassio-google-drive-backup/"],
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Install development dependencies",
|
|
"type": "process",
|
|
"command": "${config:python.pythonPath}",
|
|
"args": ["-m", "pip", "install", "-r", ".devcontainer/requirements-dev.txt"],
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "[Re]create and run local addon",
|
|
"type": "process",
|
|
"command": "${config:python.pythonPath}",
|
|
"args": ["-m", "hassio-google-drive-backup.dev.deploy_local_addon"],
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
}
|
|
]
|
|
} |