Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Latest commit

 

History

History
80 lines (59 loc) · 1.07 KB

variables.md

File metadata and controls

80 lines (59 loc) · 1.07 KB

Variables

For the convenience of use, gmake2 has some built-in available variables, which will be continuously updated.

Menu

time.now

Current time

@echo {{.time.now}}

time.utc

Current UTC time

@echo {{.time.utc}}

time.unix

Current Unix Time

@echo {{.time.unix}}

time.utc_unix

Current UTC Unix time

@echo {{.time.utc_unix}}

runtime.os

Current system name

@echo {{.runtime.os}}

runtime.arch

Current System Architecture

@echo {{.runtime.arch}}

gmake2.version

Current GMake2 Version

@echo {{.gmake2.version}}

gmake2.code

Current GMake2 Version Code

@echo {{.gmake2.code}}

gmake2.time

Current GMake2 Build Time

@echo {{.gmake2.time}}