{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "build", "type": "shell", "command": "make vendor build", "group": "build", "icon": { "id": "briefcase", "color": "terminal.ansiGreen" } }, { "label": "dist", "type": "shell", "command": "make build dist", "group": "build", "icon": { "id": "briefcase", "color": "terminal.ansiBlue" }, "options": { "env": { "GO_OPT": "" } } }, { "label": "doc HTML", "type": "shell", "command": "make doc", "group": "build", "icon": { "id": "book", "color": "terminal.ansiBlue" }, "options": { "env": { "DOC_FORMAT": "html" } } }, { "label": "doc PDF", "type": "shell", "command": "make doc", "group": "build", "icon": { "id": "book", "color": "terminal.ansiRed" }, "options": { "env": { "DOC_FORMAT": "pdf" } } }, { "label": "test", "type": "shell", "command": "make test", "group": "test", "icon": { "id": "beaker", "color": "terminal.ansiGreen" } }, { "label": "coverage", "type": "shell", "command": "make coverage", "group": "test", "icon": { "id": "beaker", "color": "terminal.ansiGreen" } }, { "label": "coverage HTML", "type": "shell", "command": "make coverage", "group": "test", "icon": { "id": "beaker", "color": "terminal.ansiBlue" }, "options": { "env": { "EXPORT_RESULT": "true" } } }, { "label": "clean", "type": "shell", "command": "make clean", "group": "build", "icon": { "id": "trash", "color": "terminal.ansiBlack" } } ] }