xkslang/make-revision

7 строки
174 B
Bash
Executable File

#!/bin/sh
(
echo "// This header is generated by the make-revision script."
echo
echo \#define GLSLANG_PATCH_LEVEL `git log --oneline | wc -l`
) > glslang/Include/revision.h