50 lines
1.4 KiB
JSON
50 lines
1.4 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Build Packgage",
|
|
"type": "shell",
|
|
"command": " cd ${input:Package}; abuild -r",
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Clean Package",
|
|
"type": "shell",
|
|
"command": " cd ${input:Package}; abuild clean; abuild cleancache; abuild cleanpkg",
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Re-generate checksum for package sources",
|
|
"type": "shell",
|
|
"command": " cd ${input:Package}; abuild clean; abuild cleancache; abuild checksum",
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
],
|
|
"inputs": [
|
|
{
|
|
"type": "pickString",
|
|
"id": "Package",
|
|
"description": "Wich package shoud the command be applied to",
|
|
"options": [
|
|
"minisatip",
|
|
"nut",
|
|
"custom-firmware",
|
|
"rflink"
|
|
],
|
|
},
|
|
]
|
|
} |