Advertisement
jamesonBradfield

tasks.json

May 19th, 2024
651
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.85 KB | None | 0 0
  1. {
  2.   "version": "2.0.0",
  3.   "tasks": [
  4.     {
  5.       "label": "🧪 Run unit tests that match the expression",
  6.       "type": "shell",
  7.       "command": "pytest -k '${input:expression}'"
  8.     },
  9.     {
  10.       "label": "🐮 Cowsay",
  11.       "type": "shell",
  12.       "command": "echo ${input:cowmsg} | cowsay"
  13.     }
  14.         {
  15.             "label": "build",
  16.             "group": "build",
  17.             "type": "shell",
  18.             "command": "scons",
  19.             "args": [
  20.                 // enable for debugging with breakpoints
  21.                 "dev_build=yes",
  22.             ],
  23.             "problemMatcher": "$msCompile"
  24.         }
  25.   ],
  26.   "inputs": [
  27.     {
  28.       "id": "expression",
  29.       "description": "Expression to filter tests with",
  30.       "default": "",
  31.       "type": "promptString"
  32.     },
  33.     {
  34.       "id": "cowmsg",
  35.       "description": "Message for cow to say",
  36.       "default": "Hello there!",
  37.       "type": "promptString"
  38.     }
  39.   ]
  40. }
  41.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement