- Visual Studio Code
- Download here: https://code.visualstudio.com/
- MinGW-w64
- Download here: https://sourceforge.net/projects/mingw-w64/files/latest/download
- Select the following options:
- Architecture:
x86_64
- Threads:
posix
- Exception:
seh
- Add
gcc
path (C:\Program Files\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin
) to environment variable PATH
- watchexec
- Download here: https://github.com/mattgreen/watchexec/releases
- Create a directory for the coding katas and place watchexec.exe in there.
- Ruby (should already be installed)
- Download here: https://rubyinstaller.org/
gem install ceedling
Test the following commands in a cmd or git bash
ceedling
welcomes youwatchexec.exe
shows error message about argumentsgcc.exe
shows error about missing input files
- Go to the directory containing
watchexec.exe
ceedling new <project-name>
cd <project-name>
ceedling module:create[<module-name>]
- Just once:
ceedling
- Everytime a file is saved:
../watchexec.exe -w src -w test ceedling
- Copy tasks.json from 'env/' to 'project-folder/.vscode/'
- In VSCode: Tasks -> Run Task -> Run unit tests