build: Converted Makefile and flake package.

This commit is contained in:
2026-06-12 15:58:27 -04:00
parent d56f11250c
commit 0a74b0dbcc
10 changed files with 105 additions and 185 deletions

12
cmd_version.odin Normal file
View File

@@ -0,0 +1,12 @@
package main
import "core:fmt"
cmd_version :: proc(cmd: ^Command) {
if has_flag(cmd, "long") || has_flag(cmd, "l") {
fmt.printf("envr version %s\n", VERSION)
} else {
fmt.println(VERSION)
}
}