very_good_cli
very_good_cli copied to clipboard
feat: setup default VSC tasks
With Visual Studio Code we have the ability to set up some tasks on .vscode/tasks.json that can be useful for some people.
Example of tasks "Run test with coverage and display coverage file"
{
"label": "flutter: Run coverage",
"type": "shell",
"command": "cd ${input:flutterFolder} && very_good test --test-randomize-ordering-seed random --coverage && genhtml ./coverage/lcov.info -o coverage && open ./coverage/index.html",
"problemMatcher": []
},
Problems I see:
- Not everyone uses VSC.
- Maybe not everyone will use these tasks.
Alternatives:
- Brick in mason?
It's not uncommon to see a scripts
folder in most projects that contains various bash/shell scripts, so generating those is always an option.
Alternatively, implementing #252 would solve this ;)