diff options
Diffstat (limited to 'libs/tdlib/td/gen_git_commit_h.ps1')
-rw-r--r-- | libs/tdlib/td/gen_git_commit_h.ps1 | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libs/tdlib/td/gen_git_commit_h.ps1 b/libs/tdlib/td/gen_git_commit_h.ps1 deleted file mode 100644 index 2893f89c2a..0000000000 --- a/libs/tdlib/td/gen_git_commit_h.ps1 +++ /dev/null @@ -1,9 +0,0 @@ -$commit = git rev-parse HEAD -git diff-index --quiet HEAD -$dirty = $LASTEXITCODE -echo "#pragma once`r`n#define GIT_COMMIT `"$commit`"`r`n#define GIT_DIRTY $dirty" | out-file -encoding ASCII auto/git_info.h.new -if (-not (Test-Path .\auto\git_info.h) -or (Compare-Object $(Get-Content .\auto\git_info.h.new) $(Get-Content .\auto\git_info.h))) { - mv -Force auto/git_info.h.new auto/git_info.h -} else { - rm auto/git_info.h.new -} |