Simple program to add or remove #+vet explicit-allocators build option to a single .odin file, or all .odin files in a directory.
Backup files before testing
cd folder_for_projects
git clone https://github.com/OnlyXuul/vet_explicit_allocators.git
cd vet_explicit_allocators
odin build .- For usage output, just run program without any arguments.
- For best experience, copy the compiled program to a folder in your PATH so that it can be run from anywhere.
- This should be OS agnostic, but I am only able to test on Linux at the moment. Make sure to backup files before testing in your environment.
vet_explicit_allocators . -avet_explicit_allocators subdir -avet_explicit_allocators path_to_folder -avet_explicit_allocators myfile.odin -acd project_folder
vet_explicit_allocators . -a && odin check .cd project_folder
vet_explicit_allocators . -a && odin check . && vet_explicit_allocators . -r