A very simple Golang application with Batect-based build and testing environments.
Run ./batect --list-tasks
to see the available commands and their descriptions, then ./batect <task>
to run <task>
.
Most tasks require you to have downloaded the application's dependencies first. ./batect setup
will do this for you.
All of this is controlled by batect.yml, and it shows a number of common patterns you might adopt in your own application.
You can find further sample projects on this page in the batect documentation.