aboutsummaryrefslogtreecommitdiff
path: root/project/VS2010Express/update_git_rev.bat
blob: db84f38ae4b5d15302549251e89c4b1bd6824043 (plain)
1
2
3
4
5
6
7
8
9
10
11
@echo off

SET REV_FILE=..\..\git_revision.h

CALL ..\Win32BuildSetup\extract_git_rev.bat

IF NOT [%GIT_REV%]==[] (
  echo #define GIT_REV "%GIT_REV%" > "%REV_FILE%"
) ELSE (
  echo. > "%REV_FILE%"
)