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
|
import os, osproc, strutils
|
||||||
|
|
||||||
let
|
let
|
||||||
standardOptions = """--skipCfg -d:version:"""" & execProcess("git rev-parse --abbrev-ref HEAD").strip() &
|
standardOptions = """--skipCfg -d:version:"""" & execProcess("git describe --long").strip() & """" kernel.nim"""
|
||||||
"|" & execProcess("git rev-parse HEAD").strip() & """" kernel.nim"""
|
|
||||||
outputFile = "myos.bin"
|
outputFile = "myos.bin"
|
||||||
|
|
||||||
task "clean", "Removes build files.":
|
task "clean", "Removes build files.":
|
||||||
|
Loading…
Reference in New Issue
Block a user