Thin wrapper on top of odin's build system with inspiration taken from
nob.h and jai's first.jai *in spirit.
I have never used jai, just from what I could piece from online
This is more of a template for my usecase, meant to live with your codebase. Since its just the language, it can take advantage of the entire language.
I have no idea how any of this will work on windows so, have that in mind
- Copy
first/into your project (preferebly at the root or not, its yours now)
.
├── first
│ └── main.odin
└── your_code.odin
...
- Build it once
$ odin build first/ -out:first.bin- From now on just run
$ ./first.binIt will rebuild itself if you change the source using Go Rebuild Urself™ Technology *borrowed from nob
Example:
https://github.com/musaubrian/smp