Nikita Chursin fa2c48498a initial commit il y a 3 ans
..
README.md fa2c48498a initial commit il y a 3 ans
changeMode.sh fa2c48498a initial commit il y a 3 ans
extensions.json fa2c48498a initial commit il y a 3 ans
launch.json fa2c48498a initial commit il y a 3 ans
push.sh fa2c48498a initial commit il y a 3 ans
tasks.json fa2c48498a initial commit il y a 3 ans

README.md

How to start

  1. Copy shell scripts to your .vscode folder
  2. Make sure they are executable (x permission in Linux and MacOS)
  3. Copy tasks from the tasks.json to your .vscode/tasks.json
  4. Optionally set up the keybinding below
  5. Enjoy!

JSON keybinding:

{
    "key": "f6",
    "command": "workbench.action.tasks.runTask",
    "args": "Push code"
},

Modes

Use Set Mode: ... tasks to change mode

Normal

Just pushes code

TDD

Pushes code + runs tests

TCR

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