large changes

This commit is contained in:
2025-12-26 10:06:23 -05:00
parent 9d7dbc31ca
commit e4eb7d62e4
15 changed files with 119 additions and 90 deletions

View File

@@ -0,0 +1,22 @@
package version
import (
"fmt"
"os"
)
var gitCommit string = "devel"
const PROGRAM_NAME string = "fes"
const PROGRAM_NAME_LONG string = "fes/fSD"
const VERSION string = "beta"
func Version() {
fmt.Printf("%s version %s\n", PROGRAM_NAME_LONG, VERSION)
os.Exit(0)
}
func FullVersion() {
fmt.Printf("%s+%s\n", VERSION, gitCommit)
os.Exit(0)
}