- Copy shell scripts to your
.vscode
folder - Change the tests to un in the
push.sh
script - Make sure they are executable (
x
permission in Linux and MacOS) - Copy tasks from the
tasks.json
to your.vscode/tasks.json
- Optionally set up the keybinding below
- Enjoy!
JSON keybinding:
{
"key": "f6",
"command": "workbench.action.tasks.runTask",
"args": "Push code"
},
Use Set Mode: ...
tasks to change mode
Just pushes code
Pushes code + runs tests
Pushes code. If push fails - reverts changes. If push is successful - runs tests. If any of tests fail - reverts changes. If tests succeed - commits change with >>> TCR wip
message