Fixed version numbers
This commit is contained in:
parent
5b5e24e633
commit
c74ba18067
|
|
@ -7,7 +7,7 @@
|
||||||
#define SLS_MAIN_H
|
#define SLS_MAIN_H
|
||||||
|
|
||||||
#define SLS_NAME "SLS_C"
|
#define SLS_NAME "SLS_C"
|
||||||
#define SLS_VER "a.0.0"
|
#define SLS_VER "0.0.1-alpha"
|
||||||
|
|
||||||
#ifndef GIT_COMMIT_HASH
|
#ifndef GIT_COMMIT_HASH
|
||||||
#define GIT_COMMIT_HASH "UNKNOWN"
|
#define GIT_COMMIT_HASH "UNKNOWN"
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ use repl::repl;
|
||||||
|
|
||||||
// These mirror the C macros.
|
// These mirror the C macros.
|
||||||
const SLS_NAME: &str = "SLS_RUST";
|
const SLS_NAME: &str = "SLS_RUST";
|
||||||
const SLS_VER: &str = "a.0.0";
|
const SLS_VER: &str = "0.0.1-alpha";
|
||||||
|
|
||||||
pub fn print_version() {
|
pub fn print_version() {
|
||||||
let git_hash = option_env!("GIT_COMMIT_HASH").unwrap_or("unknown");
|
let git_hash = option_env!("GIT_COMMIT_HASH").unwrap_or("unknown");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue