feat(library/init/version): add lean.githash : string
This commit is contained in:
parent
c6ddc51c2b
commit
ddf014cc7f
1 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
prelude
|
||||
import init.data.nat.basic
|
||||
import init.data.nat.basic init.data.string.basic
|
||||
|
||||
def lean.version : nat × nat × nat :=
|
||||
(@LEAN_VERSION_MAJOR@, @LEAN_VERSION_MINOR@, @LEAN_VERSION_PATCH@)
|
||||
|
||||
def lean.githash : string :=
|
||||
"@GIT_SHA1@"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue