mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-11 02:19:30 +00:00
Merge branch 'master' of https://github.com/odin-lang/Odin
This commit is contained in:
@@ -3842,6 +3842,10 @@ int main(int arg_count, char const **arg_ptr) {
|
||||
usage(args[0]);
|
||||
return 1;
|
||||
}
|
||||
// NOTE(Jeroen): `odin root` omits a newline on purpose so that it can be used in scripts.
|
||||
// e.g. `ODIN_CORE="$(odin root)core"`.
|
||||
// Human convenience is not a consideration.
|
||||
// Further pull requests to add a newline will be closed without comment.
|
||||
gb_printf("%.*s", LIT(odin_root_dir()));
|
||||
return 0;
|
||||
} else if (command == "clear-cache") {
|
||||
|
||||
Reference in New Issue
Block a user