openclonk/tools/get_hg_revision.bat

5 lines
130 B
Batchfile

@echo #ifndef OC_HG_REVISION
@for /f "usebackq delims=" %%I in (`hg id --id`) do @echo #define OC_HG_REVISION "%%I"
@echo #endif