Tip
Since the 0.15.0 update you can use zig init -m to get a minimal template!
A barebones zig application template, for zig stable releases.
- Click
Use this template->Create new repositoryand create a repo. - Change the
.nameandversioninsidebuild.zig.zonto whatever you want. (Changing the .name field also invalidates the .fingerprint value) - Run
zig buildto generate a new.fingerprintvalue, replace the old value with the new one. - Make your app!
Because GitHub templates don't have any versioning scheme, older templates are available as branches
- Tick
Include all branchesbox when creating your repository - Switch the default branch to the version you want
- Rename the branch to main/master
- Remove other branches