38 lines
1.2 KiB
JSON
38 lines
1.2 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Upgrade dependencies - Development",
|
|
"type": "shell",
|
|
"osx": {
|
|
"command": "${config:python.defaultInterpreterPath} -m pip install -U -r requirements/development.txt"
|
|
},
|
|
"windows": {
|
|
"command": "${config:python.defaultInterpreterPath} -m pip install -U -r requirements/development.txt"
|
|
},
|
|
"linux": {
|
|
"command": "${config:python.defaultInterpreterPath} -m pip install -U -r requirements/development.txt"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Translation Update",
|
|
"type": "shell",
|
|
"linux": {
|
|
"command": "pylupdate5 -verbose gn_tools/resources/i18n/plugin_translation.pro"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Translation Compile",
|
|
"type": "shell",
|
|
"linux": {
|
|
"command": "lrelease gn_tools/resources/i18n/*.ts "
|
|
},
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|