Bash scripts to download exercises from exercism.io and start tmux session with neovim, continuously running the tests when files change.
-
exercism cli - to download the exercises - https://exercism.org/docs/using/solving-exercises/working-locally
-
neovim - preferably with LSP servers for the respective languages
-
tools to build and run the tests (specifics per track)
- bash: bats
- jq: bats
- lua: lua, busted
- powershell: pwsh
- python: pytest
Run the respective track shell script, with the exercise slug as argument.
./exercism-<track> <exercise_slug>
Example for lua track, resistor-color-duo exercise: https://exercism.org/tracks/lua/exercises/resistor-color-duo
./exercism-lua resistor-color-duo
After solving the exercise, the solution can be submitted using neovim shell integration.
With the solution file selected, run the following command in neovim:
:!exercism submit %