Advertisement
Guest User

Untitled

a guest
Nov 28th, 2019
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. {
  2. // https://go.microsoft.com/fwlink/?LinkId=733558
  3. "version": "2.0.0",
  4. "tasks": [
  5. {
  6. "label": "Bitbake",
  7. "type": "shell",
  8. // Need to pipe to cat so it doesn't use ANSI codes which upset the
  9. // problem matcher.
  10. "command": ". oe-init-build-env && bitbake ${input:target} | cat",
  11. "group": {
  12. "kind": "build",
  13. "isDefault": true
  14. },
  15. "runOptions": {
  16. "reevaluateOnRerun": false
  17. },
  18. // Add WARNING matcher when the output has a full path in
  19. "problemMatcher": {
  20. "severity": "error",
  21. "fileLocation": "absolute",
  22. "pattern": {
  23. "kind": "file",
  24. "regexp": "^ERROR: Task \\((.+):.+\\) failed with exit code '\\d+\\'$",
  25. "file": 1,
  26. }
  27. }
  28. }
  29. ],
  30. "inputs": [
  31. {
  32. "id": "target",
  33. "type": "promptString",
  34. "description": "What targets do you want to build"
  35. }
  36. ]
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement