Using git describe instead of rev-parse for version information.
This commit is contained in:
parent
d7122f76c6
commit
f26aa6bcbd
@ -2,8 +2,7 @@ import nake
|
||||
import os, osproc, strutils
|
||||
|
||||
let
|
||||
standardOptions = """--skipCfg -d:version:"""" & execProcess("git rev-parse --abbrev-ref HEAD").strip() &
|
||||
"|" & execProcess("git rev-parse HEAD").strip() & """" kernel.nim"""
|
||||
standardOptions = """--skipCfg -d:version:"""" & execProcess("git describe --long").strip() & """" kernel.nim"""
|
||||
outputFile = "myos.bin"
|
||||
|
||||
task "clean", "Removes build files.":
|
||||
|
Loading…
Reference in New Issue
Block a user