1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-04 17:43:02 +00:00

Update version schema - now have version number

and build number.
This commit is contained in:
Calvin Rose
2018-12-08 14:17:03 -05:00
parent 043f61ef7a
commit 16e514b351
6 changed files with 25 additions and 16 deletions

View File

@@ -779,6 +779,8 @@ JanetTable *janet_core_env(void) {
/* Platform detection */
janet_def(env, "janet/version", janet_cstringv(JANET_VERSION),
"The version number of the running janet program.");
janet_def(env, "janet/build", janet_cstringv(JANET_BUILD),
"The build identifier of the running janet program.");
/* Set as gc root */
janet_gcroot(janet_wrap_table(env));